The "better than nothing" Second Reality Tunnel by Exact
[nfo]
|
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
popularity : 47% |
|||||||||||||
alltime top: #38749 |
|
|||||||||||||
|
||||||||||||||
added on the 2024-09-26 22:11:53 by BlackyExact |
popularity helper
comments
nice
good
submit changes
if this prod is a fake, some info is false or the download link is broken,
do not post about it in the comments, it will get lost.
instead, click here !
I looked at your sources and noticed that you are trying to use segment B000h as the screen buffer address. Yes, it works in DosBox, but not on real hardware (as you have already noted). B000h is the address of the video page in monochrome mode (Hercules), and in VGA mode 13h it will not be read.
For the buffer (and any other things), you can safely use all the DOS-memory above the segment in which the COM-program is loaded. That is, CS+1000h. At the start COM-program, the address of the code segment is also in DX, so we can do this:
add dh, 10h mov ds, dx
I also recommend using the segment registers FS and GS (they are available from 80386), so as not to waste extra bytes on switching between DS and ES.
I'm waiting for your new intros with particles :) I really like this thing: https://www.pouet.net/prod.php?which=92346