Author Topic: Support for DOS / FreeDOS / DosBOX (A.D 22.03.2016)  (Read 17243 times)

gumix

  • Administrator
  • Jr. Member

  • Offline
  • *****

  • 62
    • View Profile
    • Ascii Patrol
Support for DOS / FreeDOS / DosBOX (A.D 22.03.2016)
« on: April 11, 2016, 08:48:31 pm »
I spent almost 1 week on preparing internals needed to run ascii-patrol in Free-DOS and DOS-Box.
Good thing is that on any VGA compatible board, game is able to run in 90 x 50 mode.
Yes 90! This is achieved by removing 1 pixel gaps between character cells in standard 720x400 text mode.
So normally it is 720/9 = 80 columns, but after removing the gap we have 720/8 = 90 columns.
Thanks to programmable VGA sequencer and its D/A registers.

From the other side, DOS-Box can even offer emulated 132 x XX modes, unfortunately (don't know why) at a bit reduced RAMDAC frequency.

DOS version will come with 6 fonts sizes, from 8x6 to 8x16. Quite enough to compensate for different video modes and monitors aspects.


Above: Ascii Patrol inside DOS-Box with s3_svga in 132x28, font size 14.
« Last Edit: April 11, 2016, 08:50:19 pm by gumix »

yordan

  • Newbie

  • Offline
  • *

  • 1
    • View Profile
Re: Support for DOS / FreeDOS / DosBOX (A.D 22.03.2016)
« Reply #1 on: January 01, 2017, 11:39:36 pm »

First - congrats for starting that and putting so much enthusiasm and effort.
and
Second - do you plan a release for raspberrypi platform or open source version that can be compiled for any POSIX-like platform ?

Thanks
Wish you all the best


gumix

  • Administrator
  • Jr. Member

  • Offline
  • *****

  • 62
    • View Profile
    • Ascii Patrol
Re: Support for DOS / FreeDOS / DosBOX (A.D 22.03.2016)
« Reply #2 on: January 02, 2017, 06:35:26 pm »
Welcome yordan!
I'm going to put sources on github soon.
Regarding 'any platform' that is possible if you're able to provide basic keyboard input, audio and console outputs to game's callbacks :)
« Last Edit: January 02, 2017, 06:51:19 pm by gumix »