[Coco] All RAM Mode

Bob theother_bob at yahoo.com
Sat May 1 02:23:37 EDT 2004


> I need a program to put a 64K Color Computer 2 into "All RAM Mode".
> Could someone point me in the correct direction?

Just thought I'd post this for all, as the question comes up occasionally.

70 'PUT COCO 1 OR 2 INTO ALL RAM IF NECESSARY
75 A=PEEK(&HE000):POKE&HE00,55:IF PEEK(&HE000)=55 THEN 100
80 'RAM RELOCATION PROGRAM
85 DATA
26,80,142,128,0,166,132,183,255,223,167,128,140,224,0,39,5,183,255,222,32,239,28,175,57
90 FORA=32512 TO 32536:READB:POKEA,B:NEXT:EXEC32512
100 'ALL DONE

This is (slightly modified*) from a 40/80 track disk access program written by
Colin Stearman, published in The Rainbow sometime in '85 (July?). It's
something I really needed for the CoCo3P and it's single floppy drive... but
that's a whole new topic.

Bob

*Originally Colin had the test (line 70) after the ML was poked into memory. I
thought, "Why do all that work if it's not going to be used?" and put the RAM
test first.


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 



More information about the Coco mailing list