[Coco] I just got an odd idea, Once a coco is put into all ram mode could basic be completely whiped away and somthing else put in it's place ?

tim franklinlabs.com tim at franklinlabs.com
Wed Apr 3 13:50:33 EDT 2019


   I don't see why not. The interrupt vectors would have to remain at the
   same locations as the vector pointer are still in ROM (if memory
   serves).

   On April 3, 2019 at 12:28 PM Salvador Garcia via Coco <
   [1]coco at maltedmedia.com> wrote:

   This is an interesting question.

   I don't have experience with doing this on the CoCo, so I'll rely on
   past experience with similar systems to speculate.

   My first thought would be that you can't.

   The CoCo does not have a fully developed OS, like NitrOS09, OS/9,
   Linux, Windows, etc.where the language is run as an application.
   Remember GWBASIC under MS-DOS?

   Instead, the CoCo's BASIC is closely coupled with the software that
   manages the CoCo's resources which itself might use BASIC's ROM calls.
   If you attempt to clear BASIC you'll have to be careful because you
   might be wiping out code that the management program uses, causing the
   computer to become unresponsive or crash. To wipe out BASIC and then
   load something else, you might have to do it in stages:

   1. Load your own monitor system to take over the CoCo completely,
   eliminating any dependencies on the existing code.

   2. Have the loader load the new OS into memory and initialize all
   resources and interrupt vectors

   3. Have the loader transfer control to the newly loaded OS and carry
   out any clean up to free whatever resources the loader used.

   I would prefer to have a more traditional loading system where the
   loader boots on startup and bypasses all the BASIC/monitor code like I
   *think* NitroOS9 and OS/9 does. I emphasize "think" because I don't
   really know how these OSes load. :-)

   Salvador

   On Tuesday, April 2, 2019, 4:30:20 PM CDT, Steve Pedersen <
   [2]666jacktheknife666 at gmail.com> wrote:



   --

   Coco mailing list

   [3]Coco at maltedmedia.com

   [4]https://pairlist5.pair.net/mailman/listinfo/coco


   --

   Coco mailing list

   [5]Coco at maltedmedia.com

   [6]https://pairlist5.pair.net/mailman/listinfo/coco

References

   1. mailto:coco at maltedmedia.com
   2. mailto:666jacktheknife666 at gmail.com
   3. mailto:Coco at maltedmedia.com
   4. https://pairlist5.pair.net/mailman/listinfo/coco
   5. mailto:Coco at maltedmedia.com
   6. https://pairlist5.pair.net/mailman/listinfo/coco


More information about the Coco mailing list