Re: Hardware emulation of 6509 using 6502?

From: Steve Gray <sjgray_at_rogers.com>
Date: Tue, 7 Nov 2017 21:21:01 +0000 (UTC)
Message-ID: <136261826.4198427.1510089661576@mail.yahoo.com>
In order to execute kernal routines from any non-15 bank you need to load in the special transfer code. without it, JSR xxxx will execute random code. The transfer routines (available on the cbug disks) does the work of pushing the registers, switching banks, calling the proper routine, and returning to the calling bank.Info here: http://www.6502.org/users/sjgray/computer/cbm2/transactor-b-xfer.pdf
Steve

      From: Michał Pleban <lists@michau.name>
 To: cbm-hackers@musoftware.de 
 Sent: Tuesday, November 7, 2017 2:54 PM
 Subject: Re: Hardware emulation of 6509 using 6502?
   
smf wrote:
> If you have a drive hooked up then space chase is a good test of code
> running in bank 1.
> 
> If you don't and need some pokes and sys calls to test running in bank 1
> then it's not that hard to switch, I can knock something up if you want.

I am pretty sure a simple "Hello world" program written in CC65 will be
executed from bank 1 and will call KERNAL in bank 15, therefore it will
be sufficient as a test.

Regards,
Michau.


      Message was sent through the cbm-hackers mailing list


   

       Message was sent through the cbm-hackers mailing list
Received on 2017-11-07 22:00:03

Archive generated by hypermail 2.2.0.