sparky4

hell, 14.05.2014, 17:34 |
Project 16 (Developers) |
Can you help me get pcx files loaded and drawn like tiles in my dos game?
and can you also help me get the screen to smooth scroll and stop scrolling when it scrolled the distance of one tile?
i need horizontal scrolling and veritcal scrolling for this is a top down game
I also need help with font rendering....
https://sourceforge.net/p/project16/code/ci/master/tree/16/
the latest code is here
always look in 16/ directory for latest library code until the directory disappears (that means i merged the library code to the main engine core code)
I really need help with the scroll functions >< --- CRAZY wwww |
Guti

16.05.2014, 16:47
@ sparky4
|
Project 16 |
Didn't the examples from SWAG I replied on http://www.bttr-software.de/forum/forum_entry.php?id=13105 help you?
They include PCX loading, as well as smooth scrollings.
> Can you help me get pcx files loaded and drawn like tiles in my dos game?
> and can you also help me get the screen to smooth scroll and stop scrolling
> when it scrolled the distance of one tile?
>
> i need horizontal scrolling and veritcal scrolling for this is a top down
> game
>
> I also need help with font rendering....
>
> https://sourceforge.net/p/project16/code/ci/master/tree/16/
>
> the latest code is here
> always look in 16/ directory for latest library code until the directory
> disappears (that means i merged the library code to the main engine core
> code)
>
> I really need help with the scroll functions >< --- Visit my personal blog at https://www.javiergutierrezchamorro.com |
sparky4

hell, 16.05.2014, 18:08
@ Guti
|
Project 16 |
ohh ok let me read them!
> Didn't the examples from SWAG I replied on
> http://www.bttr-software.de/forum/forum_entry.php?id=13105 help you?
>
> They include PCX loading, as well as smooth scrollings.
>
> > Can you help me get pcx files loaded and drawn like tiles in my dos
> game?
> > and can you also help me get the screen to smooth scroll and stop
> scrolling
> > when it scrolled the distance of one tile?
> >
> > i need horizontal scrolling and veritcal scrolling for this is a top
> down
> > game
> >
> > I also need help with font rendering....
> >
> > https://sourceforge.net/p/project16/code/ci/master/tree/16/
> >
> > the latest code is here
> > always look in 16/ directory for latest library code until the directory
> > disappears (that means i merged the library code to the main engine core
> > code)
> >
> > I really need help with the scroll functions >< --- CRAZY wwww |
sparky4

hell, 16.05.2014, 18:15
@ Guti
|
Project 16 |
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.... >< --- CRAZY wwww |
Khusraw

Bucharest, Romania, 16.05.2014, 18:54 (edited by Khusraw, 16.05.2014, 19:05)
@ sparky4
|
Project 16 |
> 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.... ><
See PCX_LIB.ZIP from http://cd.textfiles.com/640swstudio/CLANG/ for loading a PCX file.
Re: displaying and scrolling, depends on video mode. --- Glory to God for all things |
sparky4

hell, 16.05.2014, 19:13
@ Khusraw
|
Project 16 |
Mode X 320x240 with 256 colors is the video mode
thank you for the library! --- CRAZY wwww |
Khusraw

Bucharest, Romania, 16.05.2014, 21:56
@ sparky4
|
Project 16 |
> Mode X 320x240 with 256 colors is the video mode
>
> thank you for the library!
Search for MODEX105.ZIP, the library is written in assembly language, but you can find there a "C" example of using it. --- Glory to God for all things |
sparky4

hell, 16.05.2014, 22:02
@ Khusraw
|
Project 16 |
thank you~!
> > Mode X 320x240 with 256 colors is the video mode
> >
> > thank you for the library!
>
> Search for MODEX105.ZIP, the library is written in assembly language, but
> you can find there a "C" example of using it. --- CRAZY wwww |
sparky4

hell, 17.05.2014, 00:57
@ Khusraw
|
Project 16 |
I am having difficulty compiling it in open watcom!
> > Mode X 320x240 with 256 colors is the video mode
> >
> > thank you for the library!
>
> Search for MODEX105.ZIP, the library is written in assembly language, but
> you can find there a "C" example of using it. --- CRAZY wwww |
glennmcc

North Jackson, Ohio (USA), 17.05.2014, 22:33
@ sparky4
|
Project 16 |
> I am having difficulty compiling it in open watcom!
>
> > > Mode X 320x240 with 256 colors is the video mode
> > >
> > > thank you for the library!
> >
> > Search for MODEX105.ZIP, the library is written in assembly language,
> but
> > you can find there a "C" example of using it.
In order to help you with the difficulties...
we'll need something more specific than "having difficulty".  --- --
http://glennmcc.org/ |
sparky4

hell, 17.05.2014, 22:37
@ glennmcc
|
Project 16 |
> > I am having difficulty compiling it in open watcom!
> >
> > > > Mode X 320x240 with 256 colors is the video mode
> > > >
> > > > thank you for the library!
> > >
> > > Search for MODEX105.ZIP, the library is written in assembly language,
> > but
> > > you can find there a "C" example of using it.
>
> In order to help you with the difficulties...
> we'll need something more specific than "having difficulty". 
i realized it is the incompatibility of wasm to masm so i am using jwasm and i am getting much less errors
I am trying to compile the mode X library i found a while back --- CRAZY wwww |
sparky4

hell, 17.05.2014, 22:46
@ glennmcc
|
Project 16 |
http://www.walkofmind.com/programming/modex.htm
this one i am going to compile it in 8088 mode --- CRAZY wwww |
sparky4

hell, 18.05.2014, 03:50
@ glennmcc
|
Project 16 |
updating repository!
I got vertical scrolling! --- CRAZY wwww |
Rugxulo

Usono, 25.05.2014, 23:57
@ sparky4
|
Project 16 |
> 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. |
sparky4

hell, 28.05.2014, 23:43
@ Rugxulo
|
Project 16 |
thank you ! <3
> > 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. --- CRAZY wwww |
sparky4

hell, 29.05.2014, 19:33
@ Rugxulo
|
Project 16 |
is there any top down scrolling 2d games i can look at? For DOS of course --- CRAZY wwww |
Rugxulo

Usono, 30.05.2014, 02:01
@ sparky4
|
Project 16 |
> is there any top down scrolling 2d games i can look at? For DOS of course
I don't know of any specific games. (You mean 2D topdown like shmups?) I was never much of a game programmer, just found various things (e.g. QB stuff) interesting as an end user. QuickBASIC had a lot of DOS stuff since "most" QBASIC.EXE versions were for DOS (and the limited interpreter was installed by default with MS-DOS 5 and newer).
You could try searching here (or even asking on FreeBASIC's DOS subforum):
http://www.qbasic.com/games/ |
sparky4

hell, 12.06.2014, 18:04
@ Rugxulo
|
Project 16 |
I got most of the features i wanted to appear to work!
http://sourceforge.net/p/project16/code/ci/master/tree/16/DOS_GFX.EXE
Here~
all i gotta do is make sprite movement and loading sprites
but i need help with this stuff... >.< --- CRAZY wwww |