7800 Development
|
Posted Fri Jul 25, 2008 8:10 PM
|
|
Hey guys!
I originally started this thread under another topic. It was suggested that I post it here. Here's what is going on: 1st, I'm in the process of learning the 7800 console. I'm not using any emulation...I'm using an actual Atari 520ST and a 7800 console connected to each other by way of printer port and cartridge port. I'm new to assembly and someone has already suggested an online book based on learning the language. The help I have gotten so far has been tremendous and very much welcomed and appreciated. 2nd, the person supporting me is sending me actual Atari documentation on programming the 7800...and what I learn I would like to start another thread to post what I've learned (with some secrets kept for myself LOL). I was trying to find any and all information I could find surrounding development for the 7800. If anyone out there including those that have already posted, find or know anything about programming the 7800, please pass on the information. Thanx in advance for the information. |
|
|
Posted Fri Aug 1, 2008 10:29 AM
|
|
Ok...I got some interesting links to sites that are very interesting. Those wanting to learn the 2600/7800 might find these sites useful. Here are the links:
7800 Software Guide 2600 Programming Standards 7800 Programming Standards 7800 Development Kit Documentation 7800 Development Kit Schematics 7800 Keyboard Programming Guide 7800 BIOS Source Code 7800 to 5200 Adapter Schematics 7800 Maria Specs Supercart Schematics (Hat Trick) Supercart Schematics (Jinks) Standard Cart Schematics Atari's MadMac Assembler Documentation Some new information that might please any 5200, 7800 and Atari 8-Bit computer programmers alike...it's by far the best book on assembly language for the 6502 I've ever came across. While I'm holding an actual copy in my hands...here's a link to the online version of this book. Assembly Language Programming For The Atari Computers I hope that someone finds this information useful. I'm also posting them here as my own way of easily finding this information should I ever need it...MSN hasn't been very reliable here lately and I'm afraid I'll lose the email with these links. Any other information I come across I will post it here. It was also noted that there are some links broken in the above list. Is anyone else having problems with these links? If so, as soon as I find new links, I will fix the broken links. Sorry for the inconvenience. 7800 Software Guide link is fixed...but in smaller print (Sorry). Until these links are fixed...please go here: Whimsey Atari Docs In here you will find documents on the 2600 and 7800. This post has been edited by kamakazi: Mon Feb 15, 2010 3:19 PM |
|
|
Posted Fri Aug 1, 2008 1:10 PM
|
|
Here is some other links I found useful.
Sound Development Tool Guide Also, this webpage link has actual Atari Development Software for creating 7800 programs on an actual Atari ST computer. There's also the DevCard ROM image here should you decide to create your own Development board. 7800 Development Information Well...it's a start to 7800 Development. However, these websites that have information on the Devcard don't seem to have information on the cable that connected the ST to the kit. If anyone knows of this information, please send it along! And since this seems to be starting out as a topic to find 7800 Development Stuff...here's a link to an on-line book to help those learn Assembly Language...I'll be using it as well. Machine Language On-line Book Hope this helps! This post has been edited by kamakazi: Fri Aug 1, 2008 1:15 PM |
|
|
Posted Fri Aug 1, 2008 1:44 PM
|
|
If you want to develope games for the 7800 on your current computer, a good place to start is to download the files from below. Also, you will need to have a good editor...I suggest Crimson Editor.
These can also be used to develope games for the 2600 (with the exception of the 7800 emulator). This is for those who want to create 7800 games on their current PC...I'm choosing a different route. I just feel that programs would be better achieved on an actual Atari computer and 7800 than through emulation. Attached File(s)
|
|
|
Posted Fri Aug 1, 2008 3:14 PM
|
|
Posted Fri Aug 1, 2008 8:38 PM
|
|
Quote If I remember it's just a straight through 25 pin cable. I'm not at home right now so I can't double check. Mitch If you would, let me know. Thanks, this is some information I was looking for. Wasn't sure if it might have been a special cable or not. Also, I'm trying to locate this particular IC, C014795-12. It's U1 on the Devcard. Any help would be greatful. What would be even better would be finding this card intact...but what's the chances of that happening. Anyway, thanks Mitch for the info. Every little bit helps. |
|
|
Posted Sat Aug 2, 2008 12:17 AM
|
|
Further research turned up where I heard of that IC before...here's what it is...hope someone out there knows where I might could find one. C014795 PIA (6520) HF4795 6/2/1983 Peripherial Interface Adaptor used in 8-bit computers (DLB) http://www.best-elec...om/custom-i.htm Mitch |
|
|
Posted Sat Aug 2, 2008 5:18 AM
|
|
I just posted a description of the "hidden" 7800 control register in my Atari Age Blog.
|
|
|
Posted Sat Aug 2, 2008 3:22 PM
|
|
DAN!! Thank you for the efforts you've put into finding and posting the information on Atari! The 7800 Devcard Schematic you made out is what I'm attempting now so I can have a TRUE, full Atari game development environment. And thanks to Mitch for the link. I'm on my way to developing yet. Another question...where could I find one of those Devboards...or how would you suggest I make the devcard that will plug into the 7800's cartridge port?
Thanks! |
|
|
Posted Tue Aug 5, 2008 2:01 AM
|
|
Posted Tue Aug 5, 2008 8:17 AM
|
|
Posted Tue Aug 5, 2008 9:42 AM
|
|
Posted Tue Aug 5, 2008 12:14 PM
|
|
I just got my hands on the holy grail of 2600/7800 Development! I haven't had much time to go over the 7800 portion (most of it is already here anyway). But it's all written by Atari with no missing characters or print. There's even mentioning about a 7800 Monitor (???). Some pretty cool stuff!
|
|
|
Posted Tue Aug 5, 2008 2:30 PM
|
|
Posted Wed Aug 6, 2008 5:52 AM
|
|
Posted Thu Aug 7, 2008 9:42 PM
|
|
Ok guys...here's a short example program for something to do with the 7800. According to this paperwork, the code is supposed to be "Improved Memory Display". See what you guys come up with...I couldn't get it to do anything.
JSR HEX4
LDA #16
STA $F0
ST JSR NWLN
JSR SHMEM
JSR BLANK
LDY #0
LP LDA (SAVPC),Y
BPL BR
LDA #'.'
BR JSR OUTALL
INY
CPY #8
BNE LP
DEC $F0
BNE ST
RTS
This is supposed to be code for something to do with showing how the "monitor" interacts with the 7800. Not quite sure what this is but, seems interesting. Hope it helps others. |
|
|
Posted Thu Aug 7, 2008 10:11 PM
|
|
Another interesting bit of information here for both 7800 and 2600 programmers alike. There is a way to set a "timer" in the 6532 chip. Here's what I've found...figured I'd share this much information to help get more games out from other homebrewers.
The PIA uses the same clock as the microprocessor so that one PIA cycle occurs for each machine cycle. The PIA can be set for one of four different "intervals", where each interval is some multiple of the clock (and therefore machine cycles). A value from 1 to 255 s loaded into the PIA which will be decremented by one at each interval. The timer can now be read by the microprocessor to determine elasped time for timing various software operations and keep the synchronized with the hardware (TIA chip). The timer is set by writing a value (from 1 to 255) to the address of the desired interval setting according to the following table; HEX ADDRESS INTERVAL MNEMONIC $294 1 Clock TIM1T $295 8 Clocks TIM8T $296 64 Clocks TIM64T $297 1,024 Clocks TIM1024T For example, if the value of 100 were written to TIM64T ($296) the timer would decrement to 0 in 6400 clocks (64 clocks per interval x 100 intervals) which would also be 6400 microporcessor machine cycles. Just shareing some more information for your favorite 2600/7800 console. Hope that this will spark some interest into creating more games for these consoles. |
|
|
Posted Fri Aug 8, 2008 10:55 AM
|
|
Posted Fri Aug 8, 2008 10:57 AM
|
|
Posted Fri Aug 8, 2008 10:43 PM
|
|
Like I said, Dan, I'm just now learning Assembly without any books of any kind...I now know what JSR stands for thanks to your post...Jump-Sub-Routine...right? I was just trying to post some codes passed on to me in hopes that someone would help me understand assembly better.
On a final note, those codes I posted were for use in the 7800 Monitor...not 6502 Assembly Language which is why I kept getting errors upon a DASM compile. See...I learned something! Does anyone know if DASM has an include file (or library file) for 7800 support? Or, in simpler terms...is there a 7800 library that will work with DASM for learning purposes until I get this Atari gear up and running? |
|
|
Posted Fri Aug 15, 2008 1:48 PM
|
|
Found some documents on MADMAC...the developed macro assembler for Atari programmers. You guys might find this interesting as this is what Atari used to develop games for the 7800. You WILL need Adobe Reader to read this document.
MADMAC Documentation (ATARI) More homework done. |
|
|
Posted Fri Aug 15, 2008 2:06 PM
|
|
Posted Mon Aug 18, 2008 8:43 PM
|
|
Ok guys. I need some ideas on what I'm doing. I just received a book called Assembly Language Programming for the Atari Computers. It's been by far the best source on assembly language for the 6502 I've found yet! However...it's based on the 8-bit computer and 5200 consoles that contained the ANTIC, GTIA (CTIA on some) and POKEY. While I am aware that games produced for the 7800 can in fact have the POKEY chip placed in them to offer better sounds, my main concern is the graphics chip MARIA. Is there any documentation that will teach me how to display graphics on the screen with the MARIA chip? Also, does the 7800 have ATASCII imbedded in any of its chipsets?
I know that there was someone on here that posted somewhere they actually used an ST with MADMAC for programming the 7800. If they are reading this or anyone with the same setup, please help. All I'm trying to do is get the 7800 to say "HELLO" using only Assembly Code. I currently have some code written, but the ST doesn't have a CD burner, nor does today's computers come with a floppy drive...so I can share the code I'm using. Also, the book is using code written on the ATARI ASSEMBLER/EDITOR CARTRIDGE. My other questions are: Those using the ST and MADMAC...how did you connect your ST to the 7800 for testing/debugging code? Where can I find a copy of MADMAC? My ST currently has only the 360k floppy drive...any ideas on where to find a hard drive? I was also given a copy of Epyx's Art & Film Director program (new still in factory shrinkwrap). If any sprites or artwork are done in this program, can the 7800 reproduce them? Sorry guys, I'm NOT going to give away the secret of where I got this stuff. Thanks in advance! This post has been edited by kamakazi: Mon Aug 18, 2008 8:50 PM |
|

Sign In
Register
Help




MultiQuote



