"FUNNY.PRG"
"FUNNY.PRG"
this file is funny to run also run it at your own risk.File is funny until yout list it contance have fun!
- Attachments
-
- FUNNY.PRG
- (53 Bytes) Downloaded 139 times
Re: "FUNNY.PRG"
Since someone reported this as malicious (it's not), here is what's going on:
10 POKE $9F34,40
20 PRINT "LOL"
30 LOAD "ROM.BIN"
40 RUN
$9F34 is the register that sets the number of rows VERA displays. Normally, you'd set this to a value that matches the vertical scale and/or the border. So if you set this to display 30 rows, you would also set the vertical scale to 2x.
However, the OP did not do that. Instead, it shows an interesting effect in the emulator when running this program.
As to loading ROM.BIN... I'm not sure why the OP put that in there. Since you normally would not have a ROM.BIN in the root of your SD card, this would cause FILE NOT FOUND error, and the program would crash to the READY prompt.
10 POKE $9F34,40
20 PRINT "LOL"
30 LOAD "ROM.BIN"
40 RUN
$9F34 is the register that sets the number of rows VERA displays. Normally, you'd set this to a value that matches the vertical scale and/or the border. So if you set this to display 30 rows, you would also set the vertical scale to 2x.
However, the OP did not do that. Instead, it shows an interesting effect in the emulator when running this program.
As to loading ROM.BIN... I'm not sure why the OP put that in there. Since you normally would not have a ROM.BIN in the root of your SD card, this would cause FILE NOT FOUND error, and the program would crash to the READY prompt.