Search found 86 matches

by uglifruit
Fri Jan 24, 2020 4:59 pm
Forum: Programming
Topic: Inputting a string, from m/c
Replies: 4
Views: 51

Re: Inputting a string, from m/c

Einar Saukas wrote:
Fri Jan 24, 2020 4:55 pm
Instead of writing your own routine, you can simply use SUPER INPUT:

https://spectrumcomputing.co.uk/index.p ... oup_id=459

There are 2 variants available. Give it a try, to see which one you prefer.
Ooh, I'll have a look. Thanks.
by uglifruit
Fri Jan 24, 2020 4:58 pm
Forum: Programming
Topic: Inputting a string, from m/c
Replies: 4
Views: 51

Re: Inputting a string, from m/c

I'm fine with it looking a bit cheap, and risking keywords. It's for my proportional printing font designer, just wanted the user to be able to choose a string to preview the typeface with.
by uglifruit
Fri Jan 24, 2020 4:17 pm
Forum: Programming
Topic: Inputting a string, from m/c
Replies: 4
Views: 51

Inputting a string, from m/c

Is there a handy guide to how I'd use the rom routines (probably) to get the user to Input a string of text from m/c. I currently am reading keyboard, and storing that ... But it seems a bit silly to be writing my own "delete" routine, and routine so that the user can enter Extended mode characters ...
by uglifruit
Sun Jan 19, 2020 3:42 pm
Forum: Emulators
Topic: Keyboards & Android emulators
Replies: 3
Views: 466

Re: Keyboards & Android emulators

I bought "Pokemon Typing Adventure" for the Nintendo DS just for the very small (but very usable) bluetooth keyboard... Specifically to be my keyboard when I'm using the Speccy Emulator on Android Tablet/Smartphone. It's great! (and was only £9 from Argos!)
by uglifruit
Sat Jan 18, 2020 2:11 am
Forum: Programming
Topic: Proportional Font Routines
Replies: 12
Views: 294

Re: Proportional Font Routines

Well, this is the fixed width version of my editor, that is now pretty well featured I think. https://i.postimg.cc/KkDYVjdd/Font-Designer-Fixed-Width.gif Tap file QAOP + M/Space to set pixels W,S,9,0 to choose character (or N, to progress to the 'Next') 5,6,7,8 scrolls the screen x clear editor z re...
by uglifruit
Fri Jan 17, 2020 12:36 pm
Forum: Programming
Topic: Proportional Font Routines
Replies: 12
Views: 294

Re: Proportional Font Routines

I can see the manual kerning route being sensible, actually. Then that asks different questions I suppose of how the text data is stored. If it's uncompressed there's a free 'bit' on each character to flag that it needs 'tucking in' one pixel (most common?). Then ctrl codes for anything less common ...
by uglifruit
Fri Jan 17, 2020 11:08 am
Forum: Programming
Topic: Proportional Font Routines
Replies: 12
Views: 294

Re: Proportional Font Routines

Consider that some glyphs might need to occupy full height (from ascender to descender height). For example vertical bar. Would that still be possible? Consider how this might work with narrow base glyphs such as î versus wider base glyphs such as ô. I'm glad I post here. Definite food for thought....
by uglifruit
Fri Jan 17, 2020 10:35 am
Forum: Programming
Topic: Proportional Font Routines
Replies: 12
Views: 294

Re: Proportional Font Routines

Thanks, some interesting ideas there. I'm thinking I might stick with just 8 bytes of data for each character. 7 for graphics, one data byte. The dates byte might either be: width (or rather how far on the cursor position moves) (Using 4 bits - 0-9 being normal values) Then the other bits being '+/-...
by uglifruit
Fri Jan 17, 2020 7:34 am
Forum: Programming
Topic: Proportional Font Routines
Replies: 12
Views: 294

Re: Proportional Font Routines

Thanks for those links/info. Difficult to know exactly what my endgame is at this point. When I made my 6 pixel fixed width font/routines a few years ago, and made it into a BASIC friendly stream printing thing ( Here ) I was considering a pretty "flip book" thing. That I roughly implemented here: (...
by uglifruit
Thu Jan 16, 2020 10:36 pm
Forum: Programming
Topic: Proportional Font Routines
Replies: 12
Views: 294

Proportional Font Routines

So... I'm working on a proportional font thing. I wondered how anyone else encoded theirs. I've made a character designer that's working well for "fixed width" characters, and I'm ready to implement the next part. Rather than a look up take it widths I think I'll use 7 bytes for the character (7 hig...