Recent Posts

Pages: [1] 2 3 ... 10
1
Example Code / Re: Snake game for MS-DOS (16-bit real mode)
« Last post by Tobiasz Stamborski on June 16, 2025, 02:23:07 PM »
Ok, i don't take offence at all if that's the case. :)
2
Example Code / Re: Snake game for MS-DOS (16-bit real mode)
« Last post by debs3759 on June 15, 2025, 01:00:05 PM »
I didn't mean to offend you. It's a subdomain on a website I don't know, and I had visited a website on my phone the day before which infected my phone, and resetting it then having to set everything up again with some apps wanting to contact my existing app on my "old" phone took half a day, so I was feeling more judgemental than usual. Sorry that I reacted how I did and took it out on you.
3
Example Code / Re: Snake game for MS-DOS (16-bit real mode)
« Last post by Tobiasz Stamborski on May 27, 2025, 12:04:06 PM »
Yeah, I'll go to some random website and load up a program written in assembly in my browser.

I don't understand why exactly you are so malicious. If you are suggesting that i sell malware then simply no. The game is all running inside emulator (js-dos) inside web browser - i don't know how it even could do anything harmful to your computer. afaik it can only save few kB of data inside a cookie.

i don't feel itch.io is a random site. it's well known site for indie games and corelated stuff. i don't want to argue - if you are a moderator and you think my post is inappropriate here then you can delete it.
4
Example Code / Re: Snake game for MS-DOS (16-bit real mode)
« Last post by debs3759 on May 26, 2025, 10:24:16 PM »
Yeah, I'll go to some random website and load up a program written in assembly in my browser.
5
Example Code / Snake game for MS-DOS (16-bit real mode)
« Last post by Tobiasz Stamborski on May 21, 2025, 02:15:47 PM »
Hello,

I want to share with code of my snake game implementation. I know it's rather a full program than an example code.
But i think maybe someone will use it as an example of simple random number generation, playing simple music on the
pc speaker, or anything else. Sorry if i shouldn't post it here.

If you want to see the game, here is a page on itch.io where you can play it in the web browser:
https://tstamborski.itch.io/wild-snake-boa-ii
However HTML5 player there works a bit slow and jaggy. (idk exactly why, in DOSBox it runs fine)

The full source code can be found here:
https://github.com/tstamborski/wild-snake-boa-ii
snakeboa.asm is the main file where program starts.

Sorry for my stupid ideas like making a wallpaper. (if somebody downloaded SNAKEBOA.zip and noticed)

I have created the game for game jam - just to try your hand. It's all running in text mode and just default BIOS
font is replaced by my custom 8x8 font. It's maybe nothing interesting but i thought why not to show it here. ???
6
Hi, I am Lukas,
and I am writing my operating system but I have problem with switching video modes ( switching to VESA modes too ) because I don't know how to do it and I don't found any tutorial on it so I need help. I know that in real mode it can by done by using ah = 0x00 and with interruption 0x10, but I am in protected mode so I don't know how to do it. Can someone help me please?

It don't know does it helpful for you, because it's just about regular VGA modes but:
1. In protected mode you haven't access to BIOS interrupts as you already know. You must to deal directly with VGA i/o registers by self.
2. Here you have the short instruction about VGA registers (how to use them):
https://wiki.osdev.org/VGA_Hardware#VGA_Registers
3. Here you have a proper register settings for few VGA modes (and how you should safely set them up):
https://wiki.osdev.org/VGA_Hardware#Sample_Register_Settings

Generally it's a lot of work before you, so don't expect a simple answer. I think links above are good place to start. BTW: Not so long ago I was trying to write my own simple OS too. I know your pain. :)
7
Website and Forum / Re: Why did the site go down just a few days ago?
« Last post by debs3759 on May 01, 2025, 03:54:09 AM »
That's just speculation, most of us have no idea whether it was a network issue or a software issue. Or something else. No point pointing fingers until someone in the know responds.
8
Website and Forum / Re: Why did the site go down just a few days ago?
« Last post by ben321 on May 01, 2025, 02:57:17 AM »
Assuming the server admin is paying their ISP for a static IP address then you shouldn't have this kind of issue. This kind of issue happens issue when the IP address associated with the domain name becomes obsolete due to the IP address being dynamic (ISP periodically changes your IP address).
9
Website and Forum / Re: Why did the site go down just a few days ago?
« Last post by debs3759 on April 30, 2025, 06:11:50 AM »
I think it was down for over a week. That's not unusual, as the server isn't regularly monitored, amd the site admin isn't around much. It is run by volunteers after all (even if the site admin works (or worked) for Intel :)
10
For VESA in protected mode, you gotta use VBE functions, not BIOS interrupts. Check the VBE specs on OSDev wiki for mode info and framebuffer setup. It’s tricky but doable. What bootloader you using? Might help narrow it down.
You can do this only with PMI is available to you. It isn't the case of QEMU and even at ROM BIOS extentions of major modern graphics cards like nVidia's (at least I can't find it using the described method from VBE3 documentation).
Pages: [1] 2 3 ... 10