Re: C64 Kernal disassembly question

From: Adrian Gonzalez (adrianglz_at_globalpc.net)
Date: 2004-05-21 13:02:11

Marko

Ok, I have a working c2n232 now, or at least the IEC part

>Excellent!  I've made the code from December 11 available at
><URL:http://www.funet.fi/~msmakela/c2n232i.s>.  The file has the wiring
>information:

After having somewhat of a painful time finding the right tools to 
assmemble the file, I managed to  do it and got a .hex ready to load into 
the 2313...  :)

>You'll need to wire the serial line (RxD, TxD, CTS, RTS) to a MAX232
>to enable in-system programming with my CISP tool, and communications
>when the system is running.  See the schematic in
>http://www.funet.fi/pub/cbm/crossplatform/transfer/C2N232/hardware/smdcr.zip
>for a reference design.  It's now also in PNG format, if you don't want to
>or can't install Eagle.

I built my c2n232 on top of an Atmel starter kit (stk-500), which really 
simplified things.  There's a max232 already on board along with headers 
for the port pins, where I wire-wrapped connections to a IEC 
connector.  The board also lets you program the microcontroller via a rs232 
interface and Atmel's AVR Studio software, so I didn't need to do the ISP 
part either.

>First, you should check that SAVE and LOAD works.  I have some notes on
>how to do this somewhere, but I can't find them right now.

I managed to test the firmware using a term program at 38400 bps and 
sending the 'pay attention to serial bus' command.  I was able to see the 
characters that I sent on the command channel from the c64, so everything 
seems to be working fine.

I'm kinda stuck now though.  What exactly am I supposed to be running on 
the 'big' computer side?
I assume it's different programs to act as a slave device or as a bus 
master/controller?

-Adrian





       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.