Bouncing Square.

vapourmile · 7417

Offline vapourmile

  • ZX80
  • *
    • Posts: 17
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.



Offline flash

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 13180
Reply #1 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)

Coding for the love of it!


Offline flash

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 13180
Reply #2 on: April 29, 2009, 07:37:24 am
Either that,

or I could set up dosbox or a VM?

Coding for the love of it!


Offline headkaze

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 7838
Reply #3 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 :(



Offline flash

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 13180
Reply #4 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!!!!  :-[

Coding for the love of it!