Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Marty2Doom

Members
  • Content count

    28
  • Joined

  • Last visited

About Marty2Doom

  • Rank
    Warming Up

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Marty2Doom

    Try to Compile Doom Legacy for DOS

    The Commit 714 "Backported SDL joystick code from Legacy2" make me crazy. https://sourceforge.net/p/doomlegacy/svn/714/tree/ From here on all joystick types and other definitions for DOS have been removed. E.g. cv_usejoystick.value and other definitions still exist in the latest version for DOS, which were removed at the time. What would be the better approach if I want to compile the commit 714 but don't want to leave the commit path because the m_menu.c and other main sources are constantly being touched and changed?
  2. Marty2Doom

    Try to Compile Doom Legacy for DOS

    O o ... Im now at Commit 700. damn it. With the commit from 700 you have apparently completely removed the support for buttons and joystick under DJGPP/DOS because SDL . Will that be corrected in the upcoming commits? Edit: Ok, i see .. ui .. at commit 1065 it has been changed ..
  3. Marty2Doom

    Try to Compile Doom Legacy for DOS

    Good Morning, Sir. Yes, at some point there will come a time when these old things are obsolete. Ironically, even when programming for an "old" system. :). Take it easy, I also have complete booxed sets for Amiga (complete assembler packs). :) Yes, the stdint.h under DJGPP looks good. I guess that's my fault. I didn't have an Arch type in the makefile and I still had the specs file from DJGPP. At some point I changed the arch type because the commando of gcc regarding the Cpu type had changed. I deleted the specs file and set the -march = type to i468 in combination with -mtune = i586. I let Doom run for a few hours earlier and also played a few maps myself. No freeze. I'm at commit r682. Had to change the Colourmaps and Transmap at tmap.nas and compiled. Furthermore the #include <stdlib.h> in m_fixed.h - For DOS must be included, not only for Linux. Otherwise gives implicite abs warning. As I said, I'm a noob in things but can now play wonderfully. :)
  4. Marty2Doom

    Try to Compile Doom Legacy for DOS

    yep, doom3.wad was renamed to legacy.dat and then they decided to rename it to legacy.wad. Changes were made from 594 to 595 in r_draw8.c, r_plane.c, r_segs.c and r_things.c with the comment "Draw window clipping protection".
  5. Marty2Doom

    Try to Compile Doom Legacy for DOS

    Somehow something seems to have happened from r594 to r595. Since r595 and I'm now at r632 and Doom (Ultimate) (i test it permantly with these Games) freezes under DOS during gameplay. I can not fully understand now that this could be. Edit: hmm.. does'nt happpend in Play/Time Demo Mode. Its running without Freeze.
  6. Marty2Doom

    Try to Compile Doom Legacy for DOS

    Yes. I know the Binary. Its old. I compiled with GCC 3.81 r561 without Errors :). There was minimal Errors in Code in the Commit path to compile a DOS version and the CD Music works too. (I use a 35 Track Audio CD (CHD) )...
  7. Marty2Doom

    Try to Compile Doom Legacy for DOS

    Because Doom Legacy still supports the DOS version. Just not checked. Because I think it's a shame that the code exists but can no longer be compiled and I would like it for Dosbox and at the same time want to see how it all works. Just hobby ..
  8. Marty2Doom

    Try to Compile Doom Legacy for DOS

    So ... was able to compile up to r554. For some of them, I had to fix the DOS version source without major changes to the actual sources. With GCC 381. I have few warnings. With GCC 432 there are tons of warnings and crashes but not with GCC 381.
  9. Marty2Doom

    Try to Compile Doom Legacy for DOS

    Hello @wesleyjohnson Big Thank for the Info. :) I was able to update my version to r543. Compiled from and with the r543 now also with GCC 4.32. The 1.43 is MacOS only. I can not extract the *.sitx file. I found unar but this doesnt work beacause extract error with "Tag 1". Edit: Definitely. With the header files byteptr.h and m_swap.h and gcc432.zip in the revision https://sourceforge.net/p/doomlegacy/svn/543/tree/ with the comment "Compiles now GCC 4.3", Doom Legacy crashes at the the beginning of entering a Level (but not a Demo play) completely with a SIGFAULT... I'll leave the two header files like that for now and keep checking ...
  10. Marty2Doom

    Try to Compile Doom Legacy for DOS

    @wesleyjohnson Where is Legacy.dat 1.43 ? I found only 1.42 and 1.44 alpha1.?
  11. Marty2Doom

    Try to Compile Doom Legacy for DOS

    May I help you :) I can understand you. I was looking myself. There are 60+ versions of the GCC Compiler. Not counting the Binutils and other stuff. Last week I downloaded all the stuff from deloroie and an x2ftp mirror. About 3000 files and then there were still files missing. So far found everything. Then I hung around from year to year. That's why I'm usually also responsible for uploading the complete environment development archive. Especially if you still need the dependent libs. But I think that as the commits progress with Doom Legacy, I have to update the GCC compiler. But keep up to date. greetings :)
  12. Marty2Doom

    Try to Compile Doom Legacy for DOS

    See a post above :) But here again the link. Compiled version as well as complete development environment.
  13. Marty2Doom

    Try to Compile Doom Legacy for DOS

    My next step is to verify the next versions of GCC in combination with the Source Forge Commits. So i can Report bugs at the later Versions. in my current version are a few lvalue deprcated warnings.... greetings
  14. Marty2Doom

    Try to Compile Doom Legacy for DOS

    Hello and Hi there, I found out. CD Music is playing. It would be a shame. Because my Dosbox Fork supports CUE (also separate tracks) where the WAVE / FLAC / MP3 files can be exchanged as well as the CHD (Mames Compressed Hunks of Data Format). So you can under DOS. Hear Doom remixes / remakes and covers :) Since it is really crap with the isolated externals. I changed the bcd.c. #include "bcd.h" typedef struct { int is_audio; int start, end, len; } Track; static int mscdex_version; static int num_drives; static int cur_drive; /* current drive - for use by mscdex functions */ static int cur_drive_no;/* index of current drive - for use by programmer */ static int num_tracks; static int lowest_track, highest_track; static int audio_length; #ifdef STATIC_TRACKS static Track tracks[99]; #else static Track *tracks; #endif . . . /* Internal function to get track info */ static void bcd_get_track_info(int n, Track *t) { #include "bcd.h" struct Track { int is_audio; int start, end, len; }; struct LHTrk /* lowest, Highest Track */ { int lowest_track; int highest_track; }; struct LHTrk TrkOrder; static int mscdex_version; static int num_drives; static int cur_drive; /* current drive - for use by mscdex functions */ static int cur_drive_no;/* index of current drive - for use by programmer */ static int num_tracks; //static int lowest_track, highest_track; static int audio_length; #ifdef STATIC_TRACKS struct Track tracks[99]; #else static Track *tracks; #endif . . . /* Internal function to get track info */ static void bcd_get_track_info(int n, struct Track *t) { changed the lowest_track and highest_track to TrkOrder.lowest_track and TrkOrder.highest_track. added to the bcd.h (Not the bcd.h in the djgppdos folder) #define BCD_VERSION 0x0103 /* uncomment this line to force BCD to use a statically allocated Track array instead of using malloc */ #define STATIC_TRACKS extern struct Track tracks[99]; extern struct LHTrk TrkOrder; maked a libbcd.a Change the bcd.h in the djgppdos folder ---------------------------------------------------------------- Removed extern int lowest_track, highest_track; /* uncomment this line to force BCD to use a statically allocated Track array instead of using malloc */ #define STATIC_TRACKS typedef struct { int is_audio; int start, end, len; } Track; extern Track tracks[99]; ------------------------------------------------------------------ Added #define BCD_VERSION 0x0103 /* uncomment this line to force BCD to use a statically allocated Track array instead of using malloc */ #define STATIC_TRACKS struct Track { int is_audio; int start, end, len; }; extern struct Track tracks[99]; struct LHTrk /* lowest, Highest Track */ { int lowest_track; int highest_track; }; extern struct LHTrk TrkOrder; and changed the lowest_track and highest_track ints to TrkOrder.lowest_track and TrkOrdee.highest_track. Now the externally declared variables work with the library. Das ist die v1.43 (Die bei Source Forge nur als mac os version gibt) Doom Legacy &nbsp;143 (DJ205, GCC 3.41) (Asm and CD Audio Fix)
  15. Marty2Doom

    Try to Compile Doom Legacy for DOS

    Note and Edits: File Not Found Erros ... In the Src directory, i renamed p_heretic.c/.h to p_hereti.c/.h In C:\DJGPP\lib\gcc\djgpp\3.41\include\syslimits.h to syslimit.h Under Terminating String and Compile Break fixed. From .. to if(ch==70) // crtl-break { asm ("movb $0x79, %%al call ___djgpp_hw_exception" : : :"%eax","%ebx","%ecx","%edx","%esi","%edi","memory"); } if (ch == 70) // crtl-break { asm("movb $0x79, %%al\n\t" "call ___djgpp_hw_exception" : : : "%eax", "%ebx", "%ecx", "%edx", "%esi", "%edi", "memory"); } I can't Resolve this and try this to resolve at yesterday. objs/i_cdmus.o: In function `I_PlayCD': DJGPPDOS/i_cdmus.c:403: undefined reference to `_lowest_track' DJGPPDOS/i_cdmus.c:403: undefined reference to `_highest_track' DJGPPDOS/i_cdmus.c:414: undefined reference to `_tracks' DJGPPDOS/i_cdmus.c:403: undefined reference to `_highest_track' objs/i_cdmus.o: In function `Command_Cd_f': DJGPPDOS/i_cdmus.c:187: undefined reference to `_lowest_track' DJGPPDOS/i_cdmus.c:194: undefined reference to `_highest_track' objs/i_cdmus.o: In function `hms': DJGPPDOS/i_cdmus.c:75: undefined reference to `_tracks' objs/i_cdmus.o: In function `Command_Cd_f': DJGPPDOS/i_cdmus.c:75: undefined reference to `_tracks' DJGPPDOS/i_cdmus.c:200: undefined reference to `_tracks' DJGPPDOS/i_cdmus.c:201: undefined reference to `_tracks' DJGPPDOS/i_cdmus.c:194: undefined reference to `_highest_track' objs/i_cdmus.o: In function `I_PlayCD': DJGPPDOS/i_cdmus.c:403: undefined reference to `_lowest_track' DJGPPDOS/i_cdmus.c:403: undefined reference to `_highest_track' DJGPPDOS/i_cdmus.c:414: undefined reference to `_tracks' objs/i_cdmus.o: In function `Command_Cd_f': DJGPPDOS/i_cdmus.c:403: undefined reference to `_lowest_track' DJGPPDOS/i_cdmus.c:403: undefined reference to `_highest_track' DJGPPDOS/i_cdmus.c:414: undefined reference to `_tracks' DJGPPDOS/i_cdmus.c:420: undefined reference to `_highest_track' DJGPPDOS/i_cdmus.c:425: undefined reference to `_highest_track' objs/i_cdmus.o: In function `I_PlayCD': DJGPPDOS/i_cdmus.c:403: undefined reference to `_lowest_track' DJGPPDOS/i_cdmus.c:403: undefined reference to `_highest_track' DJGPPDOS/i_cdmus.c:414: undefined reference to `_tracks' objs/i_cdmus.o: In function `I_UpdateCD': DJGPPDOS/i_cdmus.c:373: undefined reference to `_highest_track' DJGPPDOS/i_cdmus.c:374: undefined reference to `_lowest_track' DJGPPDOS/i_cdmus.c:376: undefined reference to `_tracks' DJGPPDOS/i_cdmus.c:376: undefined reference to `_tracks' objs/i_cdmus.o: In function `I_StopCD': DJGPPDOS/i_cdmus.c:252: undefined reference to `_highest_track' objs/i_cdmus.o: In function `I_UpdateCD': DJGPPDOS/i_cdmus.c:403: undefined reference to `_lowest_track' DJGPPDOS/i_cdmus.c:414: undefined reference to `_tracks' DJGPPDOS/i_cdmus.c:382: undefined reference to `_highest_track' collect2: ld returned 1 exit status The Libbcd is in the lib(rary) directory from DJGPP. The BCD Header is in the I_cdmus.c The External Reference is in the BCD Header ans the Static Int is in the BCD.c. I have no idea and i tried many things. HELP greetings
×