[Coco] Coco3 startup ASM help needed

rietveld rietveld rietveldh at hotmail.com
Thu Mar 29 14:30:49 EDT 2018


I actually came up with a working solution to my problem

I decided the easiest approach was to have two menus. One for the coco1/2 and one for the coco3

I have the coco1/2 program flashed to bank 0. The first line of the program PEEKS for a coco3.   If it finds it it then launches the coco3 MENU from an adjacent bank as if it were a 'rompak' being launched from the menu.
If the PEEK for coco3 fails then the coco1/2 menu just continues on

Sent from my BlackBerry Passport Red Edition.
  Original Message
From: Pere Serrat
Sent: Thursday, March 29, 2018 2:09 PM
To: coco at maltedmedia.com
Reply To: CoCoList for Color Computer Enthusiasts
Subject: Re: [Coco] Coco3 startup ASM help needed


Hello all,
It all works now!
Thanks a lot go to Darren Atkinson, who has sent me
a small and clever way to correct the problem.
You are a genius, Darren!

@Rietveld
Don't know how you deal with your menu. If it is all
in Basic or it has a starting machine language  ...
In any case, and if you want to, you could contact me
using my private mail and we will work on you case.

Explanation.
First time I got the OK promt, I did
?PEEK(&HFF90)
and saw that bits 0-1 were set to internal 32k ROM,
not good but I supossed that this was not the culprit
of the problem. Indeed it was!
To apply Darren's solution I just have to add these
two assembler lines before I force MAP0 to access
the Flash ROM
    lda    #%11001100    ; COCO+MMUEN+MC3+MC2
    sta    $ff90                ; INIT0 register
So simple, so effective. It works like a charm now.

@Jim Brain
Now we have the aplication for all the machines!
And it manages the list of programs in the SPI EEPROM
automatically, so not requiring modifications after each
addition ...
I will send to you a small update, just the Flasher
Program for the CoCo3 HDB-DOS. Now working hard on
the update of the user's manual.

cheers
pere


---
Este correo electrónico ha sido comprobado en busca de virus por AVG.
http://www.avg.com


--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco


More information about the Coco mailing list