Autor
| Memory/System variables (page3)
|
ro msx guru Mensajes: 2329 | Publicado: Enero 25 2007, 11:43   |
Hai,
Does anybody know what's the top most free address to use? I know sysvars start somewhere at #F300.
Is there some BASIC mem I should know about? StackPointer?
Is such info available somewhere?
I coulnd't find anything I did not know already.
|
|
jltursan msx professional Mensajes: 873 | Publicado: Enero 25 2007, 12:32   |
The contents of HIMEM (FC4AH) is the higher free address disposable. You can find more detailed info on chapter 3.2 (Detailed View of the User's Area) of the MSX THB  |
|
ro msx guru Mensajes: 2329 | Publicado: Enero 25 2007, 12:51   |
I know, but the value of HIMEM just points to highest free address, which can be altered by software. For example, DOSII sets this adress somewhere on E510H. (dos stores error messages there).
But I'm interested in high adr for MSX foundation to be working. (slot, page info, peripheral info etc etc)
in other words: WHAT goes where, exactly in the memory area before sysvars
edit: The TH says: user data from 8000 to #f380  (as I expected)
|
|
zeilemaker54 msx lover Mensajes: 97 | Publicado: Enero 25 2007, 13:21   |
So what you mean is: what is between the address pointed by HIMEM and 0F380H ?
This totally depends on the expansions you are using.
As you allready pointed out, the MSX disk kernel allocates a chunk off memory, but this consists of a static part ( 0F1C9H-0F37FH) and a variable part. The variable part depends on the type of disks, the number of diskdrives and the diskdriver itself. So there is no fixed lowest address.
Futhermore other expansions can allocate workspace, for example the FM-PAC (after a CALL MUSIC).
But from a programmers point of view, only HIMEM is important, because that is your upper limit.
|
|
Kwik msx lover Mensajes: 105 | Publicado: Enero 25 2007, 17:12   |
|
|
|
|
|