Re: [Freedos-user] Zmiy - a snake-like game for 8086 (like Nibbles)

2013-08-02 Thread Mateusz Viste
Hi Eric/Rugxulo, Thanks for your input! I did read a long time ago the power.txt that Mike wrote, but had forgotten it since. After looking again, I saw the note about INT28h. After a few tests, I see that it's actually the best way, since it works on DOSBox, DOSemu, and VirtualBox making

Re: [Freedos-user] Zmiy - a snake-like game for 8086 (like Nibbles)

2013-08-02 Thread Bret Johnson
I still haven't figured out any simple way of performing time polling with sub-55ms precision, so I will probably leave it as is (that's not a very big deal anyway). There actually is a way to do this, but you have to combine BIOS data with I/O data directly from the PIT. A little

Re: [Freedos-user] Zmiy - a snake-like game for 8086 (like Nibbles)

2013-07-30 Thread Rugxulo
Hi, On Mon, Jul 29, 2013 at 3:02 PM, Eric Auer e.a...@jpberlin.de wrote: I had a few minutes of free time lately and felt the inexplicable need to write a Nibbles clone I think the last time I wrote a Snake clone in 2.5 dimensions in Borland, in Pascal, I updated the code to use 40:6c aka

[Freedos-user] Zmiy - a snake-like game for 8086 (like Nibbles)

2013-07-29 Thread Mateusz Viste
Hi all, I had a few minutes of free time lately and felt the inexplicable need to write a Nibbles clone (remember this game that was shipped with QBasic ages ago?). I called it 'Zmiy'. It's written in C89, compiled with Turbo C, and, as usual, released under GNU GPL 3 (yes Rugxulo, I *am*

Re: [Freedos-user] Zmiy - a snake-like game for 8086 (like Nibbles)

2013-07-29 Thread Eric Auer
Hi :-) I had a few minutes of free time lately and felt the inexplicable need to write a Nibbles clone (remember this game that was shipped with Hehe :-D The first (best so far) is checking the time in a loop (at 18,2Hz), and performing an int15h AX=5305h at every iteration to notify