6510 emulator for Windows is available for download

My 6510 emulator is still a WIP but a Windows beta is available for download and testing here.

Example output:

emulator.exe KERNAL.PRG 0xea01
6510 Emulator v0.4 - (C) 2015 Luigi Di Fraia
File name: KERNAL.PRG - load address: E000
AC:00 XR:00 YR:00 SP:FF SR: 20 PC:EA01 OP:20 JSR $E9F0          L:0  CY:6    N:1
AC:00 XR:00 YR:00 SP:FD SR: 20 PC:E9F0 OP:BD LDA $ECF0,X        L:1  CY:10   N:2
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:E9F3 OP:85 STA $D1            L:1  CY:13   N:3
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:E9F5 OP:B5 LDA $D9,X          L:1  CY:17   N:4
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:E9F7 OP:29 AND #$03           L:1  CY:19   N:5
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:E9F9 OP:0D ORA $0288          L:1  CY:23   N:6
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:E9FC OP:85 STA $D2            L:1  CY:26   N:7
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:E9FE OP:60 RTS                L:1  CY:32   N:8
AC:00 XR:00 YR:00 SP:FF SR: 22 PC:EA04 OP:20 JSR $EA24          L:0  CY:38   N:9
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:EA24 OP:A5 LDA $D1            L:1  CY:41   N:10
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:EA26 OP:85 STA $F3            L:1  CY:44   N:11
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:EA28 OP:A5 LDA $D2            L:1  CY:47   N:12
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:EA2A OP:29 AND #$03           L:1  CY:49   N:13
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:EA2C OP:09 ORA #$D8           L:1  CY:51   N:14
AC:D8 XR:00 YR:00 SP:FD SR: A0 PC:EA2E OP:85 STA $F4            L:1  CY:54   N:15
AC:D8 XR:00 YR:00 SP:FD SR: A0 PC:EA30 OP:60 RTS                L:1  CY:60   N:16
AC:D8 XR:00 YR:00 SP:FF SR: A0 PC:EA07 OP:A9 LDA #$20           L:0  CY:62   N:17
AC:20 XR:00 YR:00 SP:FF SR: 20 PC:EA09 OP:91 STA ($D1),Y        L:0  CY:68   N:18
AC:20 XR:00 YR:00 SP:FF SR: 20 PC:EA0B OP:20 JSR $E4DA          L:0  CY:74   N:19
AC:20 XR:00 YR:00 SP:FD SR: 20 PC:E4DA OP:AD LDA $0286          L:1  CY:78   N:20
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:E4DD OP:91 STA ($F3),Y        L:1  CY:84   N:21
AC:00 XR:00 YR:00 SP:FD SR: 22 PC:E4DF OP:60 RTS                L:1  CY:90   N:22
AC:00 XR:00 YR:00 SP:FF SR: 22 PC:EA0E OP:EA NOP                L:0  CY:92   N:23
AC:00 XR:00 YR:00 SP:FF SR: 22 PC:EA0F OP:88 DEY                L:0  CY:94   N:24
AC:00 XR:00 YR:FF SP:FF SR: A0 PC:EA10 OP:10 BPL $EA07          L:0  CY:96   N:25
AC:00 XR:00 YR:FF SP:FF SR: A0 PC:EA12 OP:60 RTS                L:0  CY:102  N:26

Before using it make sure that the routine you ask it to execute eventually returns (otherwise the program will never end and will have to be stopped with CTRL+C).

L indicates the nesting level when subroutines are invoked;
CY indicates the clock cycles spent so far after executing each instruction.

Have fun 🙂

This entry was posted in Retrocomputing, Technical and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s