VisorCentral.com
Show 20 posts from this thread on one page

VisorCentral.com (http://discussion.visorcentral.com/vcforum/index.php)
- Visor & Deluxe (http://discussion.visorcentral.com/vcforum/forumdisplay.php?forumid=1)
-- OS patching (http://discussion.visorcentral.com/vcforum/showthread.php?threadid=73)


Posted by mirkot on 09-25-1999 02:23 PM:

Question

So, conclusion is that Visor does not have Flash ROM. Can somebody explain how "patching" works with plain ROM? Where are the patches stored?

We learned that Visor is faster than IIIx and V because programmers removed some wait states and optimized code here an there. Actually, that is my concern.


Posted by emeyer on 09-25-1999 03:02 PM:

Post

This is how it is usually done.

There is a table stored in RAM of all of the ROM entrypoints. All ROM calls are redirected through this table. When a routine is patched the entrypoint address is changed to point to the new patched routine in RAM.

This is a very old technique, I did something like this back in 1978 to patch the keyboard routines of the old TRS-80 Model I. They had a keyboard bounce problem that caused repeated characters when you typed and my routine just had better debouncing logic.

-Eric


All times are GMT. The time now is 02:03 AM.
Show 20 posts from this thread on one page

Powered by: vBulletin Version 2.3.4
Copyright © Jelsoft Enterprises Limited 2000 - 2016.