I recovered my block of the Commodore 64 to check the porting dell'emultatore FC64 proposed Quach posts ago! Unfortunately, some features of the keyboard are not really able to make them work, so I could not try and put some interesting listings (old nostalgic memories). If you remember, the Commodore 64 had special combinations used when writing BASIC code, as the symbol of R negative (reverse) or the little heart, always in the negative, to clean the screen. If someone finds a way to do it ... However, some limitations can be overcome by using the BASIC command
CHR$ . For example, to clean the screen just use
PRINT CHR$(147) , which corresponds to cuoricino in negative!
Other Tricks, how to lock and unlock the combination RUN / STOP RESTORE are also out of my reach ... for now.
This is the list of the code that I tried and it works:
INPUT WITH QUOTES
Put double quotes after the request from the keyboard
100 POKE 198,1: POKE 631.34
110 INPUT A $
VERTICAL LINE WITH POKE
Create an animated vertical line
100 PRINT CHR $ (147)
110 FOR R = 1 TO 24
POKE 55296 120 +33 +40 * R, 5
130 POKE 1024 +33 +40 * R, 71
140 NEXT R
SHRINKING THE SCREEN
Direct access to the VIC Video, allows you to restrict orizzonatalmente vertically and the visible area of the Commodore 64. Used for scrool horizontal and vertical.
BLOCK THE COMMAND LIST
Write any list and type the following code. il codice funzioni uguale. Now try typing
LIST and you will see that the listing is no longer viewable, although to
RUN the code works the same.
REPLACE THE WORDS READY. WITH EDDIE!
The first 3 lines copy the kernel from ROM to RAM, consider that it takes a while ', at least a minute or two to copy the kernel, but worth it. The latest replace the "READY." With "EDDIE". Remember at the end of typing
POKE 1,54 - which moves the pointing to the Kernel from ROM to RAM. If you want to try other characters the next time just run the lines of code from 40 onwards, then use
10 FOR J = 40960 TO 49151
20 POKE J, PEEK (J)
30 NEXT J
40 FOR J = 41848 TO 41853
L $ 50 READ
60 POKE J, ASC (L $)
70 NEXT J
80 DATE E, D, D, I, E,!
If you accidentally type "NEW"
This line allows you to retrieve a list in case you accidentally type in the command
POKE 2050.1: SYS 42291: POKE 45, PEEK (34): POKE 46, PEEK (35): CLR
. I also tried Assembly code, inserting it as
DATA and other
POKE . Everything seems to work.
Of examples and codicils I really many, so I'll stop here - for now. I hope that as soon as is implemented in the emulator also the SID, so as to revive many effects and sounds of the old - but always wonderful - Commodore 64! Even an Assembly would not hurt ...