[Coco] 512k test

Mathieu Bouchard matju at artengine.ca
Fri Dec 6 23:15:49 EST 2013


Le 2013-12-06 à 22:36:00, Mathieu Bouchard a écrit :
> Le 2013-12-06 à 18:34:00, Arthur Flexser a écrit :
>
>> 10 LPOKE &H22345,99:LPOKE &H12345,23
>> 20 P=LPEEK(&H22345):IF P=23 THEN PRINT "UH-OH" ELSE IF P=99 THEN PRINT
>> "LOOKS GOOD SO FAR" ELSE PRINT "HUH??"
>
> Doesn't a simple LPEEK do the job ? LPEEK and LPOKE do a ?FC ERROR if the 
> address is too far.

Actually, I'm really not sure, and I don't have the means to try it. My 
real box hasn't been opened since 1987, whereas the emulator pretends that 
I didn't tell it to have only 128K.

Hmmm, now I just opened the case. Damn, I just voided my warranty ! :-P I 
have a « Disto Canada » RAM too. But I can't try, because if I remove it, 
I'll have 0k of RAM.

  ______________________________________________________________________
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC


More information about the Coco mailing list