Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Project 16 (Developers)

posted by Rugxulo Homepage, Usono, 25.05.2014, 23:57

> I barely have time to study pascal!
> making C code out of that pascal code will help me tremendously
>
> i wish there where some C examples.... ><

I only vaguely remember that some famous DOS tutorials were translated into C. I can't remember if it was Denthor or Telemachos or whatever. (It's probably Turbo C, but that's "close enough" to OpenWatcom, or at least closer than Pascal.)

http://gnjilux.cc.fer.hr/pub/msdos/programming/docs/00index.txt


pxdtut1.zip     PPT #1 - Doom-walls by Telemachos^Peroxide
pxdtut2.zip     PPT #2 - EMS-Handling by Telemachos^Peroxide
pxdtut3.zip     PPT #3 - 3D vector engine part 1. 3D projections (pascal)
pxdtut4.zip     PPT #4 - 3D vector engine part 2. EnvironMap,Gouraud,Phong,Texture (pascal)
pxdtut5.zip     PPT #5 - SVGA using VESA 1.2. SVGA memory model, bankswitching (pascal)
pxdtut6.zip     PPT #6 - Interrupts, Keyboard handler, PIT clock chip (pascal)
pxdtut7.zip     PPT #7 - Raycasting, Wolfenstein engine (pascal)

...

tutorc.zip      Denthor's Asphyxia VGA trainers translated into C - 2,4-16


P.S. It's still a good idea to look at actual games and see what they do. Perhaps old QBasic games (or even FreeBASIC), there were tons of those, or something popular that was open-sourced like Descent or Doom or Quake or Ken's Labyrinth or Duke Nukem 3D or R.O.T.T. Heck, even DJGPP's Allegro lib has tons of VGA and VESA support and lots of examples. I know 386 isn't your target, but you can learn a lot from there.

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum