RetroBytes Portal

Programming => Other Games & Projects => Topic started by: vapourmile on April 28, 2009, 04:32:08 pm

Title: Bouncing Square.
Post by: vapourmile on April 28, 2009, 04:32:08 pm
Hi there, this is a program I wrote a million years ago when I was trying to get to grips with low level programming on the PC. C language coders may be interested to know that the program goes straight to the graphics (VGA) hardware and uses precisely no operating system nor library functions at all. The program uses 266bytes of RAM. These bytes include the sprite software, arc movement routine, and rectangle motif.
Title: Re: Bouncing Square.
Post by: flash on April 29, 2009, 07:35:47 am
Sadly, I cannot run this from Vista... :(

I will have do pull out an older computer to have a look.. I have a few knocking around.

(it is down to Vista's poor DOS emulation and inability to display fullscreen - which your code requires)
Title: Re: Bouncing Square.
Post by: flash on April 29, 2009, 07:37:24 am
Either that,

or I could set up dosbox or a VM?
Title: Re: Bouncing Square.
Post by: headkaze on April 29, 2009, 07:56:45 am
It won't run on XP 64 either. This prompted me to look through some old floppies for DOS programs I wrote back in the day. One was a GUI system using DMA to DOS's text mode (based on Amiga's "intuition") and another was a program called "XED" which was a hex editor. Unfortuantely I couldn't find anything :(
Title: Re: Bouncing Square.
Post by: flash on April 29, 2009, 08:22:13 am
It won't run on XP 64 either. This prompted me to look through some old floppies for DOS programs I wrote back in the day. One was a GUI system using DMA to DOS's text mode (based on Amiga's "intuition") and another was a program called "XED" which was a hex editor. Unfortuantely I couldn't find anything :(
That is just not good enough!!!!  :-[