Under VirtualBox, sound works (always... sound never worked for  me under QEMU).

But always too fast, even if I slow CPU to 1%.



I created a gminer.iso file with:

mkisofs -o gminer.iso gminer

where gminer is the directory where gminer.zip was extracted.



Timer code is at:

https://git.usebox.net/gold-mine-run/tree/src/timer.c



Using interrupt 0x1c under DPMI should be fine:

https://www.phatcode.net/res/262/files/dpmi09.html#2.4.2



I find it a bit weird what it does to divide 10000 by 5494 to get the usual 
tick rate of 18.2 ticks per second...

as it should be done by 'hardware' I am not expecting to be done in the 
interrupt handler.

Not so sure how well it is supposed to happens under a virtual environment... 
probably fine I suppose... guess most games use this.
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to