[Coco] running BASIC in RAM (was "Coco Questions")

Jim Cox jimcox at miba51.com
Sat Jul 14 12:43:04 EDT 2007


I'm doing a little mailbox cleaning and I came across this 
post from Aaron Banerjee, and would like to know why 
someone would want to put their CoCo in all RAM mode?

Jim

On Sun, 29 Oct 2006 07:19:59 -0500 (EST)
  Aaron Banerjee <spam_proof at worldnet.att.net> wrote:
> 
> I'm not sure how useful this would be, but just in case 
>there were silent
> lurkers hoping someone would post a short quip to put 
>your coco in all ram
> mode (with BASIC running...).  I've added comments 
>showing what (I hope)
> is the assembly version of the driver.
>                        - Aaron
> 
> 5  DATA 26,80:REM                 ORCC   $50     MASK 
>INTERRUPTS
> 10 DATA 142,128,0:REM             LDX    $8000   START 
>OF BASIC
> 15 DATA 166,132:REM       LINE15  LDA    ,X
> 20 DATA 183,255,233:REM           STA    $FFDF   MAP 
>TYPE 1
> 25 DATA 167,128:REM               STA    ,X+
> 30 DATA 183,255,222:REM           STA    $FFDE   GO BACK 
>TO REGULAR MEM
> 35 DATA 140,255,0:REM             CMPX   $FF00   END OF 
>RAM
> 40 DATA 38,241:REM                BNE    LINE15
> 45 DATA 183,255,223:REM           STA    $FFDF   STAY IN 
>ALL RAM MODE
> 50 DATA 28,175:REM                ANDCC  $AF     UNMASK 
>INTERRUPTS
> 55 DATA 57:REM                           RTS     RETURN
> 60 REMEMBER THE ALAMO!!
> 65 FOR X=3584 TO 3609
> 70 READ D
> 75 POKE X,D
> 80 NEXT X
> 85 EXEC 3584
> 
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco




More information about the Coco mailing list