From: Spiro Trikaliotis (ml-cbmhackers_at_trikaliotis.net)
Date: 2006-12-21 21:30:49
Hello,
* On Thu, Dec 21, 2006 at 09:50:26PM +0200 Marko Mäkelä wrote:
> On Thu, Dec 21, 2006 at 05:35:53PM +0100, Spiro Trikaliotis wrote:
> > 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
>
> That command would save $6000..$7FFF.
*grm*
Yes, of course. We should use the original line:
POKE 43,0:POKE 44,96:POKE 45,0:POKE 46,160:SAVE "ROM-03",8
> By the way, my favourite for reading the error channel is:
>
> 0 OPEN1,8,15
> 1 GET#1,A$:?A$;:ON-(ST=0)GOTO1:CLOSE1
>
> Note the use of ON...GOTO to emulate IF ... ENDIF or IF ... ELSE.
Well, to be honest, I do not mind not doing a CLOSE 1 at all.
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.