Konami Man wrote:

> Hi people! Konami Man returns again for asking for help (strange
> huh?). This
> time, concerning to the disk ROM work area (again!):
>
> 1. Can someone explain me the difference between variables HIGHMEM
> (#F349)
> and CLEAR (#F34B)?

F349 points to the area NOT INCLUDING MSX-DOS slot call routinesand interrupt
handling routine. F34B points below them. So, area above F349
must never be changed, but area between F34B and F349 can be changed if
some precautions are taken, and MSXDOS reloaded afterwards.

> 2. Can I allocate memory in page 3 with the following method, without
> causing
> the system to be unstable?:
>
> LD HL,(#F349)
> LD BC,-256
> ADD HL,BC
> LD (#F349),HL ;HL to HL+255 = Allocated memory
> RET
>
> I used this method before, but exiting BASIC and returning DOS after
> modifying HIGHMEM, for causing MSXDOS2.SYS to be reloaded in the
> appropriate
> address. Is this really necessary?

It IS necessary if you are palnning to run MSXDOS programs afterwards.


****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to