VOGONS


First post, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

I have made some adjustments to the dosbox source code,
I have 2 sets of fonts residing in "dosbox" memory, not in dos memory
when I create a variable, I name it activeFont
When I change it to "S3", the whole sets of font will change to S3
and change to "Avance", they will chnage to Avance
But unfortunately this doesn't work very well,
When I also created two make programs called avance.com and s3.com
, I type one of the commands, the system crashes.
I know something wrong is happening because I can't intervene with the system memory
when the video bios is doing a refresh. What is a better way of doing it?
Like clearing the screen, wait for one sec, mimic a restart, clearing the bios and refilling it again?
The major goal is I don't want to have a real restart...
Is it possible?
Thanks
Jack

Last edited by lucky7456969 on 2015-02-24, 23:34. Edited 1 time in total.

Reply 1 of 1, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

Hello,
I have mimic the ldgfxrom class. But one thing I don't understand is
When I switch to s3 from avance, it's okay
then back to avance, it is not overwritten anymore
Looks like something is broken after changing from s3 to avance
How can I bring up the vga system again?
Thanks
Jack