flat assembler
Message board for the users of flat assembler.
Index
> DOS > how do I use dosbox? |
Author |
|
nvictor 18 Feb 2007, 08:54
rugxulo,
I've downloaded dosbox. Can you tell me basically how to use it to play the mini dos games? I mean, those boot-sector mini games... |
|||
18 Feb 2007, 08:54 |
|
rugxulo 18 Feb 2007, 20:07
Like Privalov's TetrOS?: boot tetros.bin works for me (DOSBox 0.65, Win XP).
However, that is mainly intended to be written to a floppy (resets the game upon ESC, so you'll have to reboot if you want to quit). There are other small games, non-bootable, (like the 360-byte Tetris and Invaders) that don't require you to do anything besides run 'em. |
|||
18 Feb 2007, 20:07 |
|
DJ Mauretto 26 Jun 2007, 19:00
Quote:
The timer work in Xp ,it is emulated but it work |
|||
26 Jun 2007, 19:00 |
|
DJ Mauretto 26 Jun 2007, 19:07
About Timer i mean PIT , how much delay you need
|
|||
26 Jun 2007, 19:07 |
|
Picnic 26 Jun 2007, 19:34
DJ Mauretto wrote: The timer work in Xp ,it is emulated but it work But it loses the amazing animation on my xp console The status window error concerns me. I've tested timers from here , vid says 'accurate timing in DOS box under windows is impossible' i think he is right. |
|||
26 Jun 2007, 19:34 |
|
DJ Mauretto 26 Jun 2007, 19:48
Well ,
long delay are not accurate for multitasking nature of 32bit OS , i have ask you how much delay for this reason. Bios INT 15H also isn't accurate ,either pure DOS or DOS box or emulator. The best timer is RDTSC instruction if you have a CPU that support it, PIT is accurate , and with some trick also in XP |
|||
26 Jun 2007, 19:48 |
|
rugxulo 26 Jun 2007, 22:48
It's true, the DOSBox 0.70 status window does whine, but the program seems to work (at least, what's it supposed to do??). Anyways, take it up with the DOSBox guys (IRC: #dosbox on Freenode). If you want to try real DOS, get FreeDOS (they updated the .ISOs recently).
P.S. I think DOSBox only emulates a 486/DX2 (i.e. no Pentium and therefore no RDTSC). But it does have CPUID.
|
||||||||||
26 Jun 2007, 22:48 |
|
Sahrian 27 Jun 2007, 17:46
Bios INT 15H, AH=86h doesn't work in XP at all and doesn't work correctly in DOSBOX (at least in version 0.65. I didn't try version 0.70). But it works very well in plain DOS and accurately enough in Windows98. Try another delay code for compatibilty with XP.
|
|||
27 Jun 2007, 17:46 |
|
Picnic 27 Jun 2007, 18:20
I might do that rugxulo and ask, i face up this problem again.
The full script was a car moving on a road using keys. Thanks for the info guys. |
|||
27 Jun 2007, 18:20 |
|
Picnic 18 Jul 2007, 14:36
Hello all,
Can i have on windows xp console 8x8 pixels characters? I'm using this small piece of code, it's working on Dosbox emulator but not on xp console.. Code: mov ax,1202h ; select 400 scan line mode mov bl,30h int 10h mov ax,3 ; select 80 x 25 16 colour mode int 10h mov ax,1112h ; load 8x8 character set into RAM mov bl,0 int 10h |
|||
18 Jul 2007, 14:36 |
|
Japheth 18 Jul 2007, 17:03
> I'm using this small piece of code, it's working on Dosbox emulator but not on xp console.
It's most likely working in WinXP as well, but if you are using CMD.EXE as shell, it will quickly restore the previous setting once your program has terminated. To keep the 8x8 font after your program has exited, either run it from a DOS shell (command.com, 4DOS.com) or change to the 50 lines resolution the "dump" way in cmd.exe: mode con lines=50 |
|||
18 Jul 2007, 17:03 |
|
Picnic 18 Jul 2007, 18:08
thanks Japheth. I think i found an edge
|
|||
18 Jul 2007, 18:08 |
|
Picnic 05 Sep 2007, 20:06
using dosbox emulator, cwsdpmi.exe must be run immediately before fasm.exe every time. Is there a way to run cwsdpmi only once?
|
|||
05 Sep 2007, 20:06 |
|
DOS386 06 Sep 2007, 22:04
> way to run cwsdpmi only once?
- Unbox the DOS - CWSDPMI -p Untested, use with care |
|||
06 Sep 2007, 22:04 |
|
Picnic 07 Sep 2007, 20:49
it seems to work, thanks NTOSKRNL_VXE!
|
|||
07 Sep 2007, 20:49 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.