Jump to content



0

7800 Programming help?


10 replies to this topic

#1 Miqorz OFFLINE  

Miqorz

    River Patroller

  • 4,561 posts

Posted Mon Apr 28, 2003 8:31 AM

Okay I have a dream to make a 7800 1942 clone homebrew but I don't know anything about programming for the 7800!

I'd REALLY like to make this dream a reality and I am sure the 7800 community would like a homebrew.. so anything would be appreciated.

#2 EricBall OFFLINE  

EricBall

    Dragonstomper

  • 711 posts
  • Location:Markham, Ontario, Canada

Posted Mon Apr 28, 2003 10:37 AM

Check out Dan Boris's 7800 page to start. There are other pages around with some more tidbits of info, but I should warn you that there is far less info & sample code available than for the 2600.

I've started fiddling with the 7800 (via emulator) myself, though I haven't gotten beyond the blank screen stage. (No z26.log either, sniff.) My current plan is to disassemble (my own disassembler, but Disasm now handles 7800) a couple of games and try to figure out what I've done wrong.

#3 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • 8,109 posts
  • Location:Baden-Württemberg, Germany

Posted Mon Apr 28, 2003 1:58 PM

Eric,

it's easier than you think... feel free to have a look into my 7800 homebrew Senso 7800 dx

http://www.s-direktn...nadj/a7800.html

cheers, karolj

#4 DanBoris OFFLINE  

DanBoris

    Dragonstomper

  • 930 posts
  • Location:New Jersey, USA

Posted Mon Apr 28, 2003 6:23 PM

Miqorz said:

Okay I have a dream to make a 7800 1942 clone homebrew but I don't know anything about programming for the 7800!

I'd REALLY like to make this dream a reality and I am sure the 7800 community would like a homebrew.. so anything would be appreciated.

1942 would be a good fit for the 7800 hardware. There are a few people on this board who have done some 7800 programming, so dive in and feel free to ask questions as you go along.

Dan

#5 EricBall OFFLINE  

EricBall

    Dragonstomper

  • 711 posts
  • Location:Markham, Ontario, Canada

Posted Wed Apr 30, 2003 9:33 AM

Dan, would it be possible to get the debug version of V7800 (or a Win32 MESS/7800 debug version)? My current test application (working on a demo which uses overlapping tiles) crashes on startup. (I've tried your demo, it does the same thing....) Just some assurance that the BIOS gets the checksum right would be nice.

And a question - how accurate/reliable is V7800 or MESS when it comes to DMA timing? I have a feeling that my demo is pushing the limits of what Maria will do in 456 cycles. Or should I budget for both a real 7800 and Chad's Cuttle78?

#6 DanBoris OFFLINE  

DanBoris

    Dragonstomper

  • 930 posts
  • Location:New Jersey, USA

Posted Wed Apr 30, 2003 10:41 AM

You best bet would be to compile a debug version of MESS and use that. The emulation is better the V7800 and it has a much better debugger. You may be able to find a pre-compiled debug MESS.

The emulation in MESS will allow you to freely pass the DMA cycle limit and show no ill effects, so it's definitly not good for final testing. If you plan to develop homebrew games for the 7800 you simply can't avoid eventually testing it on the real hardware.

Dan

#7 EricBall OFFLINE  

EricBall

    Dragonstomper

  • 711 posts
  • Location:Markham, Ontario, Canada

Posted Wed Apr 30, 2003 11:03 AM

Figured out the problem, I forgot a $ for the LDA # STA CTRL to start DMA. I'm now getting a display, and it looks like what I'm expecting (I think...)

Unfortunately, I'm not in a position to recompile MESS for myself (thus my request for a pre-compiled debug binary).

Thanks for the heads up on the DMA timing. I thought that might be true. One of the documents gives some timing values, but I'm not sure whether two byte indirect requires 9 or 12 cycles per character (9 makes sense to me, 3x1 for the character & 3x2 for each of the graphic bytes). Well, maybe I'll just make something which looks cool on an emulator, even if it can't work on the actual hardware.

#8 shep OFFLINE  

shep

    Recovering Over-Eater

  • 6,571 posts
  • Reuniting w/DJCat
  • Location:Illinois (all over the place)

Posted Wed Apr 30, 2003 12:17 PM

Word of advice! I do not care how smart you are! Don't go in this thinking it won't be difficult, too many people try to learn to program for these consoles thinking like that and it ends up hurting them. :-D Other than that goodluck!

#9 Mitch OFFLINE  

Mitch

    Quadrunner

  • 5,769 posts
  • 7800 Guy
  • Location:Southern California, USA

Posted Wed Apr 30, 2003 1:26 PM

If you need a beta tester for a 7800 game let me know. I can test on a real 7800 for you.

Mitch

#10 Miqorz OFFLINE  

Miqorz

    River Patroller

  • 4,561 posts

Posted Wed Apr 30, 2003 1:43 PM

Mitch said:

If you need a beta tester for a 7800 game let me know. I can test on a real 7800 for you.

Mitch

Works for me..

Once I get a little of the game done you'll be one of the first to know.

Thanks,

Mike

#11 OFFLINE  

Posted Wed Apr 30, 2003 7:12 PM

hi,

can i join with the besta tester! :D jeej. oh shit! :| dont have the hardware yet. doh! >_<


best regards,

Vyeyendra RAmnares




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users