MiniLD #45compo
Ludum Dos
This is the beginnings of some code for a game interface. It's a DOS/BIOS based thing. It needs DJGPP to compile. I've been using it in a DosBox/Boxer emulated machine.
Currently, it supports:
Lowest level:
- switching to Mode 13h VGA (320x200) paletted
- switching back to text mode (03h)
- Keyboard functions via BIOS int 16h
Routines:
- keyboard: key hit?, get char, special keys pressed?, flush
- video: palette: Get, Set palette, Fade/Dissolve palettes
- video: 4 buffers
- video: clear screen, draw horizontal/vertical line
- video: draw pixel
- video: text rendering using a builtin XBM-based font
All of the source and XBM fonts are included.
This isn't really a game, and I don't really have time to work on it more, but it was a lot of fun to write, and unearth those neurons in my brain which hadn't seen the light of day since the mid 1990s.
Currently, it supports:
Lowest level:
- switching to Mode 13h VGA (320x200) paletted
- switching back to text mode (03h)
- Keyboard functions via BIOS int 16h
Routines:
- keyboard: key hit?, get char, special keys pressed?, flush
- video: palette: Get, Set palette, Fade/Dissolve palettes
- video: 4 buffers
- video: clear screen, draw horizontal/vertical line
- video: draw pixel
- video: text rendering using a builtin XBM-based font
All of the source and XBM fonts are included.
This isn't really a game, and I don't really have time to work on it more, but it was a lot of fun to write, and unearth those neurons in my brain which hadn't seen the light of day since the mid 1990s.



Comments1