Can it be possible to set into the PCjr section an identification byte in a memory located F000:FFFE or after the statement "DEF SEG = &HFFFF" completed, a display of hexadecimal 'FD' (byte #253) with peek(13) (&HE)? Some programs use a PEEK into machine memory, specificly at this address to identify the type of machine as a PCjr or IBM PC or wiselike. See: http://stanislavs.org/helppc/id_bytes.html I know that it could be an issue because PC-BASIC is an emulator and it, actually, have not physical location memories. But since is a statical location maybe a subtitution can be arranged? Is this possible?
Regards,
Ronald.
PD:
DEF SEG = &HFFFF (this is to include all memory location to be available)
Ok
PRINT HEX$(PEEK(&HE))
FD
Ok
_
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
Can it be possible to set into the PCjr section an identification byte in a memory located F000:FFFE or after the statement "DEF SEG = &HFFFF" completed, a display of hexadecimal 'FD' (byte #253) with peek(13) (&HE)? Some programs use a PEEK into machine memory, specificly at this address to identify the type of machine as a PCjr or IBM PC or wiselike. See: http://stanislavs.org/helppc/id_bytes.html I know that it could be an issue because PC-BASIC is an emulator and it, actually, have not physical location memories. But since is a statical location maybe a subtitution can be arranged? Is this possible?
Regards,
Ronald.
PD:
DEF SEG = &HFFFF (this is to include all memory location to be available)
Ok
PRINT HEX$(PEEK(&HE))
FD
Ok
_
Sorry, is not PEEK(13) is 14... hexadecimal: &HE.
Ron.
Hi Ron, I think this should be possible, I'll add it to the list of things to improve :)