DJGPP & Z80 Problems

This is a discussion on DJGPP & Z80 Problems within the C++ Programming forums, part of the General Programming Boards category; OK, I just downloaded all the ZIP files for DJGPP. When I unzip them using winzip6.0, do I unzip them ...

  1. #1
    Registered User Robert_Ingleby's Avatar
    Join Date
    Oct 2001
    Posts
    57

    DJGPP & Z80 Problems

    OK, I just downloaded all the ZIP files for DJGPP.

    When I unzip them using winzip6.0, do I unzip them into my DJGPP folder so I have one BIN directory for each of the zips or do I unzip them so I have one BIN directory containing various different files from all the zips?

    If it is the latter, what do I answer when winzip says that I am duplicating some files?

    I have tried most things, but RHIDE IDE will not let me compile even the simplest program?

    Also, does any one know any Z80, I'm trying to decode a *.TAP file of a classis spectrum game so I can re-write it in DOS. A even a link to a site thats in the know would be most helpful.

    Thank-you

    Rob.


  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,852
    > or do I unzip them so I have one BIN directory containing various different files from all the zips
    This one.
    Everything has the same start point (eg D:\DJGPP), and you unzip them with 'preserve folder information'.

    > If it is the latter, what do I answer when winzip says that I am duplicating some files?
    Doesn't matter - a lot of them are things like readme files, which are not essential for running the compiler.

    But if you're especially curious, you could ALT-TAB to explorer to copy the file which is about to be overwritten to another location.

    > I have tried most things, but RHIDE IDE will not let me compile even the simplest program?
    You did all the bits about modifying PATH in autoexec.bat, and rebooting?
    Or whatever it says you should do for NT.

    I've never used RHIDE, so I can't help with this bit.

    http://www.google.com/search?q=spectrum+TAP
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    28

    use the unzip32.exe

    just type in the directory your zip files are in (in msdos): "unzip32 *.zip -d c:\djgpp" after you have made the djgpp directory. It will unzip everything to the right directory properly. Then go to djgpp\allegro and type make - to make allegro library.
    ...

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    I used to program z80 machine code when i was a kid. From memory it was more complicated than either 6502 or even x86 assembly. It is a very ambitious project to reverse engineer z80 code into c/c++. Why dont you just write it as a c program trying to be close to the original. Do you really need to see how it works? Can you not write something very similar without seeing how it was written on an old home computer that only had 48k of memory to play with.As I said before most spectrum games although great for their time were not really too complicated.Why not have a go at something real simple like jetpac. In that game the screen was the same always,there is no scrolling(only wrapping the left of the screen to the right). The aliens changed every screen but they all had predictable movements with very little in the way of ai.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. No clue how to make a code to solve problems!
    By ctnzn in forum C Programming
    Replies: 8
    Last Post: 10-16-2008, 03:59 AM
  2. Wav edit programmation for dos with DJGPP
    By sprudhom in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 07-17-2003, 08:35 AM
  3. Input problems with DJGPP?
    By Hardboy in forum C++ Programming
    Replies: 10
    Last Post: 03-13-2003, 07:29 PM
  4. DJGPP project problems
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 06-08-2002, 08:16 PM
  5. DJGPP problems
    By stormswift in forum C Programming
    Replies: 2
    Last Post: 02-26-2002, 04:35 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21