From: Spiro Trikaliotis (ml-cbmhackers_at_trikaliotis.net)
Date: 2006-12-21 17:35:53
Hello, * On Thu, Dec 21, 2006 at 05:38:52PM +0200 Marko Mäkelä wrote: > Spiro, maybe you should repost your BASIC program after fixing the > bugs that Andrew reported and fixed. Andrew reported? Oh, yes, damn... I should start reading the entire mail before answering... :( Ok, here it is: 10 POKE 55,0:POKE 56,96:CLR:REM Make room for the image 20 OPEN 1,8,15 30 AD=24576 40 FOR HI=192 TO 255 45 PRINT HI:REM Output as progress indicator 50 FOR LO=0 TO 255 STEP 32 60 PRINT#1,"M-R"CHR$(LO)CHR$(HI)CHR$(32) 70 FOR VA=0 TO 31 80 GET#1,A$:POKE AD,ASC(A$+CHR$(0)) 90 AD=AD+1 100 NEXT VA 110 NEXT LO 120 NEXT HI This program reads the floppy ROM from $C000-$FFFF and writes it into $6000-$9FFF of the C64. To save the image to disk, enter: POKE 43,0:POKE 44,96:POKE 45,0:POKE 46,128:SAVE "ROM-03",8 Regards, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ Message was sent through the cbm-hackers mailing list
Archive generated by hypermail pre-2.1.8.