Page 1 of 1

Hungry Dots

Posted: Wed Aug 27, 2008 5:25 pm
by chezzestix
So I just got done with a bit of code and tested it on a virtual machine and it worked perfectly. However once I moved it to a floppy and tried it on real hardware the thing epically failed.

Failure points:
-The screen isnt cleared by my rudimentry \nx10 method [fixed]
-The starting prompt isnt outputted [fixed]
-It takes two presses of enter (after the video mode is changed) for the dot to be drawn and when it is, it is drawn in odd colors (its supposed to be one white pixel at 0,0) [fixed]

A video mode change fixed the first two and the last one was a slight oversight in the coding on my part.

Re: Hungry Dots

Posted: Wed Aug 27, 2008 5:47 pm
by PatrickV
I get that as well but vise versa with virtual hardware and software. Their are some problems form hardware to virtual like me and virtual to hardware and some time both hardware and hardware, virtual and virtual. It is how things are inturpet. Which i don't know my self

Re: Hungry Dots

Posted: Thu Aug 28, 2008 11:37 am
by Dex
You should try and do as much as you can on real hardware, as thats what OS's need to run on.
It may be easier on emulators, but then so is coding a game instead of a OS.
Find a old PC from a dump, it should be easy to get a free one.