|
Post by sidawg on Sept 14, 2021 13:46:43 GMT
I remember seeing documentation on the special codes that appear between double quotes. For example, you type 10 PRINT " and then hit a cursor key and it will give a character code for the cursor key... which is of course useful for when you want to print a cursor key, or turn reverse on, or change colour, or whatever.
I'm sure I remember seeing documentation on this, most likely from original C64 manual, though I can't find it now... I guess what I'm REALLY wanting to know is how to exit that mode of entry as it drives me bonkers lol i.e. if you're trying to edit a line inside double quotes, you can hit keys to insert new characters easy enough, but then you go to use a cursor key to move and it gives the character code rather than just moving the cursor... so I end up typing a double quote just to exit the mode, then cursoring back and hitting space on top of it. It's messy and frustrating as i remember it was 34 years ago lol: wondering if anyone has any tips and tricks or documentation? I'm assuming there's a key combo to exit the mode?
|
|
|
Post by c64stuff on Sept 14, 2021 23:34:18 GMT
That's an interesting question. I used to write code years ago in basic and machine language for the 64 and in writing a custom 64 user only bbs system and user terminal software I used extensive petsci and color changing fonts but I can't remember how I wrote them. Vaguely I think I remember it wasn't necessarily double quotes in the basic line text editor that went in and out of this mode, but rather holding down one key (commodore or control key?) and then hitting the other key you wanted. I might be completely remembering wrong but I thought I'd just put in the starting quote and then the key combo to enter what I wanted and then complete it with the ending quote, so there were no issues with not being able to use keys normally if I didn't hold down the first key.
I look forward to hearing if I remember right or if I'm way off. Lol
|
|
|
Post by sidawg on Sept 15, 2021 8:49:04 GMT
hi! yeah im going back to learn assembly and game programming which is where I gave up as an 8 year old many years ago lol: hopefully i have more patience now (and better tools!). Combining that with my BBS days sounds awesome! Sorority Vampire port perhaps? haha Oh and PS: love Monty on the Run! Such a weird game: you get to the end and find out if you brought the right things with you from the start lol (was that copy protection??)
Aaaanywa... yeah normally you can type double quotes and just type normally, it's only certain keys that display the special codes: you're right, all the ones with a first key like ctrl-1 etc to change colourm ctrl-9 (i think?) to turn reverse on... but it's also the cursor keys and some other keys, like home: they all have string representations so you can print/trigger them. So kinda cool quaint feature: but also annoying.
|
|
|
Post by oocozyoo on Sept 18, 2021 19:12:02 GMT
|
|