New README.DJGPP and fix for vid_dos.h from Turo after I mis-applied his last

patch (sorry).
This commit is contained in:
Bill Currie 2000-08-20 13:59:27 +00:00
parent 05df2f53f2
commit 00d853bcb3
2 changed files with 40 additions and 210 deletions

View file

@ -1,218 +1,48 @@
The following are emails from coders on the quake-devel mailing list who Requirements
are working on getting QuakeForge to compile or who have succeeded. ============
------------------------------------------------------------------------
[Quake-devel] Compiling under djgpp - Following DJGPP packages:
From: Thad Ward <coderjoe@grnet.com>
To: quake-devel@lists.sourceforge.net
acnf213b.zip (Autoconf)
amake14b.zip (Automake)
bnu210b.zip (Binutils)
bsh203b.zip (Bash)
djdev203.zip (DJGPP libc and base utilities)
fil316b.zip (Fileutils)
gcc2952b.zip (GCC)
grep24b.zip (Grep)
gwk304b.zip (Gawk)
m4-14b.zip (M4)
mak379b.zip (GNU Make)
perl552b.zip (Perl)
sed302b.zip (Sed)
shl112b.zip (Shellutils)
txt20b.zip (Textutils)
I'm currently working on getting the code to compile under djgpp. There is Also distclean requires find41b.zip (Findutils)
a lot to do, but i wanted to post a list of the djgpp "packages" that I had It's also recommended to have txi40b.zip (documentation system) and faq230b.zip (DJGPP FAQ).
to download to get autoconf to work, and to get the code compiling.
the packages I had to download are: djdev203, faq211b, bnu281b, gcc2952b, - LFN support (Tested under Windows 98)
gdb418b, gpp2952b, lgpp295b, mak377b, txi312b, bsh1147b, acnf213b,
amake14b, perl552b, m4-14b, sed302b, fil316b, grep22b, shl112b,
txt122b, gwk303b, dif271b
Building instructions
=====================
These probably should go into the README file. First, install all aforementioned DJGPP packages. You also need mpdosock.h from the original source release. Put it somewhere the compiler can
find it. I prefer c:\djgpp\include.
If you want to change CFLAGS (defaults to -march=pentiumpro), edit djconfig.sh.
Then change to the directory where you installed the Quakeforge sources and type:
Also, i had to add a SHELL= line to the makefile generated by autoconf to bootstrap
get make to work. djconfig
make
Thad Ward Then just copy targets\uquake-vga.exe to your Quake directory.
------------------------------------------------ NOTE: make install does NOT work.
Re: [Quake-devel] Compiling under djgpp Known problems
From: Adam Skoglund <gulgi@home.se> ==============
To: quake-devel@lists.sourceforge.net - Joystick calibration occurs before video initialization. So if after starting you see only a black screen, press ESC. This bug was also
present in the original source release, but not Quake 1.08.
- If you change video mode from the menu, vid_mode cvar isn't updated.
At 04:15 2000-01-12 -0500, you wrote:
>I'm currently working on getting the code to compile under djgpp. There
is a
>lot to do, but i wanted to post a list of the djgpp "packages" that I had
>to download to get autoconf to work, and to get the code compiling.
>
>the packages I had to download are: djdev203, faq211b, bnu281b, gcc2952b,
>gdb418b, gpp2952b, lgpp295b, mak377b, txi312b, bsh1147b, acnf213b,
>amake14b, perl552b, m4-14b, sed302b, fil316b, grep22b, shl112b,
>txt122b, gwk303b, dif271b
Well... I have now compiled the source under DJGPP without those
packages....
Only thing I don't get to compile is the net stuff... net_ser.c gives me
ALOT of errors...
So I treid to compile with net_null.c and it worked... To compile and link
that is...
Quake v1.09
Loaded -2 Mb image
Allocated 4 Mb data
malloc'd: 4456444
Error: Only 4.2 megs of memory available, can't execute game
Is the output from it.. Something is WRONG... :) I have 128 megs of ram
so....
I am gonna try to get it running.. but have an exam on friday so.. not
much
work til then.
If anyone can tell what is wrong etc... please tell me... :)
Adam, aka gulgi
------------------------------------------------
Re: [Quake-devel] Compiling under djgpp
From: Adam Skoglund <gulgi@home.se>
To: quake-devel@lists.sourceforge.net
At 11:27 2000-01-12 +0100, you wrote:
>At 04:15 2000-01-12 -0500, you wrote:
>>I'm currently working on getting the code to compile under djgpp. There
is a
>>lot to do, but i wanted to post a list of the djgpp "packages" that I
had
>>to download to get autoconf to work, and to get the code compiling.
>>
>>the packages I had to download are: djdev203, faq211b, bnu281b,
gcc2952b,
>>gdb418b, gpp2952b, lgpp295b, mak377b, txi312b, bsh1147b, acnf213b,
>>amake14b, perl552b, m4-14b, sed302b, fil316b, grep22b, shl112b,
>>txt122b, gwk303b, dif271b
>
>Well... I have now compiled the source under DJGPP without those
packages....
>Only thing I don't get to compile is the net stuff... net_ser.c gives me
>ALOT of errors...
>So I treid to compile with net_null.c and it worked... To compile and
link
>that is...
>
>Quake v1.09
>Loaded -2 Mb image
>Allocated 4 Mb data
>malloc'd: 4456444
>Error: Only 4.2 megs of memory available, can't execute game
>
>Is the output from it.. Something is WRONG... :) I have 128 megs of ram
so....
>I am gonna try to get it running.. but have an exam on friday so.. not
>much work til then.
>If anyone can tell what is wrong etc... please tell me... :)
It works now.. all except network play... (net_null.c used...)
Havn't tried to play so much but... :)
:)
Adam, aka gulgi
------------------------------------------------
Re: [Quake-devel] Compiling under djgpp
From: Thad Ward <coderjoe@grnet.com>
To: quake-devel@lists.sourceforge.net
On Wed, Jan 12, 2000 at 06:05:48AM -0500,
quake-devel@lists.sourceforge.net wrote:
> At 04:15 2000-01-12 -0500, you wrote:
> >I'm currently working on getting the code to compile under djgpp. There
is a
> >lot to do, but i wanted to post a list of the djgpp "packages" that I
had
> >to download to get autoconf to work, and to get the code compiling.
> >
> >the packages I had to download are: djdev203, faq211b, bnu281b,
gcc2952b,
> >gdb418b, gpp2952b, lgpp295b, mak377b, txi312b, bsh1147b, acnf213b,
> >amake14b, perl552b, m4-14b, sed302b, fil316b, grep22b, shl112b,
> >txt122b, gwk303b, dif271b
>
> Well... I have now compiled the source under DJGPP without those
packages....
> Only thing I don't get to compile is the net stuff... net_ser.c gives me
> ALOT of errors...
> So I treid to compile with net_null.c and it worked... To compile and
link
> that is...
From what you mentioned in #quakeforge, you built the quake1src.zip file
source code, which is not the same as building the QuakeForge source.
Thad Ward
------------------------------------------------
Re: [Quake-devel] Compiling under djgpp
From: Adam Skoglund <gulgi@home.se>
To: quake-devel@lists.sourceforge.net
At 06:29 2000-01-12 -0500, you wrote:
>On Wed, Jan 12, 2000 at 06:05:48AM -0500,
>quake-devel@lists.sourceforge.net wrote:
> > At 04:15 2000-01-12 -0500, you wrote:
> > >I'm currently working on getting the code to compile under djgpp.
> There is a
> > >lot to do, but i wanted to post a list of the djgpp "packages" that I
had
> > >to download to get autoconf to work, and to get the code compiling.
> > >
> > >the packages I had to download are: djdev203, faq211b, bnu281b,
gcc2952b,
> > >gdb418b, gpp2952b, lgpp295b, mak377b, txi312b, bsh1147b, acnf213b,
> > >amake14b, perl552b, m4-14b, sed302b, fil316b, grep22b, shl112b,
> > >txt122b, gwk303b, dif271b
> >
> > Well... I have now compiled the source under DJGPP without those
> packages....
> > Only thing I don't get to compile is the net stuff... net_ser.c gives
me
> > ALOT of errors...
> > So I treid to compile with net_null.c and it worked... To compile and
link
> > that is...
>
> >From what you mentioned in #quakeforge, you built the quake1src.zip
file
>source code, which is not the same as building the QuakeForge source.
Yup... without mods... (Humm.. one mod.. in host.c isDedicated... that
flag
didn't show
in that file.. although it includes guakedefs.h.. (extern qboolean
isDedicated) don't know
why and wanted it to compile so... I commented it out.. so.. no dedicated
server and no network..
everything else works great... )
Setting up cvs now to make a Makefile.dj if i ever get cvs to work...
:/
gulgi
------------------------------------------------
Re: [Quake-devel] Compiling under djgpp
From: arh14@cornell.edu
To: quake-devel@lists.sourceforge.net
I too got the original source to build (and crash) under djgpp.
What we need is to be able to build QuakeForge. Everything has been
moved around and redesigned...being able to build the original sources
doesn't help much.
I downloaded autoconf the other day. I'll try to do a build of
QuakeForge.
On another topic, as long as I'm sending this, I'd just like to say that
a lot of the common API people are calling for seems to be what Guile
provides. I'll have to wait until the next digest when I will again be
woefully behind the discussion to find out what people think.
Aaron

View file

@ -54,9 +54,9 @@ extern int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes;
extern byte *VGA_pagebase; extern byte *VGA_pagebase;
extern vmode_t *VGA_pcurmode; extern vmode_t *VGA_pcurmode;
extern cvar_t vid_wait; extern cvar_t *vid_wait;
extern cvar_t vid_nopageflip; extern cvar_t *vid_nopageflip;
extern cvar_t _vid_wait_override; extern cvar_t *_vid_wait_override;
extern unsigned char colormap256[32][256]; extern unsigned char colormap256[32][256];