soeren gust <sgus-@...> wrote:
original article:http://www.egroups.com/group/vmu-dev/?start=61
> Does not work on European VMS, as soon as the program starts it resets
> the VMS and I have to enter the time again. Just how did you find the
> correct location $ef5? Is there perhaps another location in the
Japanese
> VMS which works and is identical in all versions?
Try changing $ef5 to $ef8. I have found that even different Japanese
BIOSes differ. $ef5 works with version 1.002. $ef8 works with version
1.004. The European BIOS might be closer to the 1.004 version.
An easy way to check if you have an 1.002 firmware is to increase the
year to 2048, and then try to decrease it back to 2047. If it pops up
to 2559 instead, it's an 1.002. :-)
The $ef5 location is rather carefully selected as an LDC instruction
that stores the result away somewhere where it can be retrieved later.
I've tried to find a better location that would be more likely to work
with different firmware revisions, but failed. There are not that many
LDC instructions in total in the entire firmware. The $e000-$ffff area
(which is most likely to be identical in all firmwares) contain none.
// Marcus