sim65 common define for paravirt hooks base location
allows the loaded binary to take up as much space as possible restored some documentation of the hooks but without reference to specific location
This commit is contained in:
committed by
Oliver Schmidt
parent
6efb71bea7
commit
5269552346
@@ -200,8 +200,8 @@ static unsigned char ReadProgramFile (void)
|
||||
/* Read the file body into memory */
|
||||
Addr = Load;
|
||||
while ((Val = fgetc(F)) != EOF) {
|
||||
if (Addr == 0xFF00) {
|
||||
Error ("'%s': To large to fit into $%04X-$FFF0", ProgramFile, Addr);
|
||||
if (Addr >= PARAVIRT_BASE) {
|
||||
Error ("'%s': To large to fit into $%04X-$%04X", ProgramFile, Addr, PARAVIRT_BASE);
|
||||
}
|
||||
MemWriteByte (Addr++, (unsigned char) Val);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user