Changes

Jump to: navigation, search

SOUNDCHIP SFG-01 MBIOS

1,024 bytes added, 07:02, 22 June 2021
3-2 Memory Management
==3-1 User Interface==
==3-2 Memory Management==
 
The management of the cartridge slot is left up to the user.
For example, assume that 0000h-3FFFh of the BASIC interpreter is
mapped in front, and when an interrupt needing MBIOS service just arrives
to the system. It is then the user's responsibility to switch the slot so as to
map the MBIOS slot in front, then get IRQC service by MBIOS, and finally
switch back to the original slot in order to exit from that interrupt.
 
However, as an exception, when loading/saving into the CMT. upon the CMT
service call request. MBIOS switches the slot ( assuming the primary
slot#0 for BASIC only) by itself appropriately to appropriate the CMT
service provided in the BIOS of BASIC interpreter.
 
The memory allocation under MBIOS control is as shown in FIG. 3.1.
The area from ED00h to F37Fh is a fixed work space for MB..
The area from EC00h to ECFFh is for the MIDB.
Other areas such as MB, EVB, RHB, UVL, and the stack area can be allocated
anywhere between 8000h (or 4000h when CMT routine is not used) and
EC00h.
 
==3-3 Supervisor Call==
==3-4 IRQ Processing==

Navigation menu