Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOVE TO DISCUSSIONS: hdpmi32 and cwsdpmi in dosbox #418

Open
john-peterson opened this issue Sep 9, 2023 · 2 comments
Open

MOVE TO DISCUSSIONS: hdpmi32 and cwsdpmi in dosbox #418

john-peterson opened this issue Sep 9, 2023 · 2 comments

Comments

@john-peterson
Copy link

There are many critical isues that would benefit from you enabling the Discussions section on this project

Thank you


These are critical issues for writing unit tests for dos

i don't have dosemu natively in subsystem android (I'm in vacation) and need to run my test in dosbox

completely mysterious crashes led me to this

https://freebasic.net/forum/viewtopic.php?t=11845

https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/system/cwsdpmi/

https://www.japheth.de/Download/HX/hdpmivpc.zip

turns out a COMBINATION of protected mode works. one for compiling and another for runtime

dosbox -c "MOUNT c ." -c "c:" -c "fbc a.bas"

dosbox -c "MOUNT c ." -c "c:" -c "hdpmi32 -r" -c "a"
@john-peterson
Copy link
Author

mode.bas

Dim As Integer i, j, k
Do
	Screen k
	Color 0, 7
	Print Using "Screen #"; k
	Do
		Do
			Color i, j
			Print Using "## ##"; i; j;
			j += 1
		Loop Until j > 7
	Print ""
	i += 1
	j = 0
Loop Until i > 15
k += 1
i = j = 0
Sleep 3000
Loop Until k > 7
Sleep

@john-peterson
Copy link
Author

Screenshot_20230909-092726

Yellow text in a famous 81 game is absent from the only working TERMINAL emulator text mode emulator terminal.c in dosemu

I have two write unit tests from scratch since it's mostly ad hoc trial and error written

I still don't know if it can handle ANSI text as graphics modes at all or only ANSI mode 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant