Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Andy Piper boosted
root42
root42
@root42@chaos.social  ·  activity timestamp 2 months ago

To my #dosbox bubble: Why is #dosbox_x so slow in text mode? When I do pageup/pagedn it is SLOOOOW.

Your browser does not support the video tag.
This video cannot be previewed
Open original
Turbo C in Dosbox X scolling visibly slow.
  • Copy link
  • Flag this post
  • Block
root42
root42
@root42@chaos.social  ·  activity timestamp 2 months ago

To my #dosbox bubble: Why is #dosbox_x so slow in text mode? When I do pageup/pagedn it is SLOOOOW.

Your browser does not support the video tag.
This video cannot be previewed
Open original
Turbo C in Dosbox X scolling visibly slow.
  • Copy link
  • Flag this post
  • Block
Julian Fietkau
Julian Fietkau
@julian@fietkau.social  ·  activity timestamp 2 months ago

I recently gave a makeover to the project page for the first video game I ever made: https://fietkau.media/revelation_mentis

The game itself is a small adventure/exploration game for DOS. It's not much to look at. But I touched up the game itself and the web-based player to make it a lot more approachable:

- Full English translation
- Nicer menu navigation
- Touch controls on mobile! 🤯
- A cute little optional CRT filter
- Updated #DOSBox and #emscripten, it no longer hangs the page on load for a second

A screenshot of a green top-down game landscape, showing bushes and dark pits in ASCII graphics. There is a smiley face as the protagonist and a red symbol as the goal. It's very simple DOS text mode visuals, but rendered through a CRT filter showing screen curvature and scanlines.
A screenshot of a green top-down game landscape, showing bushes and dark pits in ASCII graphics. There is a smiley face as the protagonist and a red symbol as the goal. It's very simple DOS text mode visuals, but rendered through a CRT filter showing screen curvature and scanlines.
A screenshot of a green top-down game landscape, showing bushes and dark pits in ASCII graphics. There is a smiley face as the protagonist and a red symbol as the goal. It's very simple DOS text mode visuals, but rendered through a CRT filter showing screen curvature and scanlines.
  • Copy link
  • Flag this post
  • Block
jbz
jbz
@jbz@indieweb.social  ·  activity timestamp 3 months ago

🕹️ DOSBox Pure by Schelling

https://schelling.itch.io/dosbox-pure

#dosbox #dos #retrogaming

itch.io

DOSBox Pure by Schelling

DOSBox reimagined, with a friendly interface, ZIP loading and save states
  • Copy link
  • Flag this post
  • Block
Brad Linder
Brad Linder
@bradlinder@fosstodon.org  ·  activity timestamp 3 months ago

DOSBox Pure Unleashed is a DOSBox port for running classic games on modern hardware. Originally only available as a RetroArch core, it's now available as a standalone application. https://www.tomshardware.com/video-games/retro-gaming/dosbox-pure-unleashed-is-ready-for-windows-mac-and-linux-computers-after-five-years-in-development-enhanced-standalone-release-no-longer-restricted-to-being-a-retroarch-core #DOSBox #DOSBoxPureUnleashed

Tom's Hardware

DOSBox Pure Unleashed is ready for Windows, Mac, and Linux computers after five years in development — enhanced standalone release no longer restricted to being a RetroArch core

Standalone app includes experimental support for Windows 9X gaming.
  • Copy link
  • Flag this post
  • Block
halcy​ :icosahedron: boosted
Greg
Greg
@greg@icosahedron.website  ·  activity timestamp 6 months ago

Lately I've been working on trying to add some speed / performance hacks to #DOSBox. The idea is a bit similar to the old DOSIDLE.EXE / POWER.EXE TSRs: detect when the system is idle or busy-looping, and give up the rest of the CPU cycles until something interesting happens (next frame, next BIOS tick, whatever).

There are a bunch of timing sources on the IBM PC and it's tricky to get them all, but as a proof of concept - here's the delay loop from GORILLA.BAS:

'Rest:
' pauses the program
SUB Rest (t#)
s# = TIMER
t2# = MachSpeed * t# / SPEEDCONST
DO
LOOP UNTIL TIMER - s# > t2#
END SUB

So, it busy-loops until the timer tick. In DOSBox I modified the BIOS INT 1A handler so that if the emulated machine requests the time twice and the same tick comes up, it's probably spinning, so I take away all the remaining cycle budget and sleep instead. And it actually works! Host CPU usage drops significantly - or, if you put it in Turbo Mode, the game plays WAY faster!

Your browser does not support the video tag.
This video cannot be previewed
Open original
Recording of GORILLA,BAS in DOSBox with a debug window visible. Any time the game does a delay (e.g. banana flying through the air), the debug window shows the timing hack dumping all remaining cycles. Cycle budget is 3000 and sometimes it's saving 80-90% of that just by bailing out early.
  • Copy link
  • Flag this post
  • Block
Greg
Greg
@greg@icosahedron.website  ·  activity timestamp 6 months ago

Lately I've been working on trying to add some speed / performance hacks to #DOSBox. The idea is a bit similar to the old DOSIDLE.EXE / POWER.EXE TSRs: detect when the system is idle or busy-looping, and give up the rest of the CPU cycles until something interesting happens (next frame, next BIOS tick, whatever).

There are a bunch of timing sources on the IBM PC and it's tricky to get them all, but as a proof of concept - here's the delay loop from GORILLA.BAS:

'Rest:
' pauses the program
SUB Rest (t#)
s# = TIMER
t2# = MachSpeed * t# / SPEEDCONST
DO
LOOP UNTIL TIMER - s# > t2#
END SUB

So, it busy-loops until the timer tick. In DOSBox I modified the BIOS INT 1A handler so that if the emulated machine requests the time twice and the same tick comes up, it's probably spinning, so I take away all the remaining cycle budget and sleep instead. And it actually works! Host CPU usage drops significantly - or, if you put it in Turbo Mode, the game plays WAY faster!

Your browser does not support the video tag.
This video cannot be previewed
Open original
Recording of GORILLA,BAS in DOSBox with a debug window visible. Any time the game does a delay (e.g. banana flying through the air), the debug window shows the timing hack dumping all remaining cycles. Cycle budget is 3000 and sometimes it's saving 80-90% of that just by bailing out early.
  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct