<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'6502 Processor Emulator' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread '6502 Processor Emulator' posted on the 'Computer Emulators' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 17:14:07 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 17:14:07 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/82290/6502-processor-emulator/</link>
      <description>I've created a C++ library that (hopefully) emulates the 6502 (maybe part of the 65C02) processor. I believe it was used in the Commodore, as well as the Nintendo Entertainment System. I've created it as a step toward creating my first emulator, for the NES. However, to put it lightly, the docs I've found suck, so I'm not sure I've implemented every instruction appropriately. To help debug it, I'm creating an application similar to windows' debug that will allow me to essentially program for the 6502 and trace the code. But seeing as how knowing how to program for the 6502 and knowing what each instruction does are essentially the same thing, I must say I don't really know how to program for the 6502.&lt;br /&gt;
&lt;br /&gt;
So, to the point. If anyone has 6502 (and/or 65C02) source code they could donate to my cause, I'd appreciate it. And if you're interested in taking a more active role as an experienced 6502 programmer, I'd appreciate that as well. &lt;br /&gt;
&lt;br /&gt;
If so, contact me by email (anthem.dsl@verizon.net) or ICQ (2063124).&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
James&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/82290/6502-processor-emulator/</guid>
      <pubDate>Tue, 16 Oct 2001 22:27:39 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>Re: 6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/82888/re-6502-processor-emulator/#82888</link>
      <description>Hi!&lt;br /&gt;
&lt;br /&gt;
Interesting project! How do you get this far if you don't know how to program in 6502?&lt;br /&gt;
&lt;br /&gt;
There are sites that focus on 6502, such as:&lt;br /&gt;
&lt;a href="http://www.npsnet.com/danf/cbm/cross-development.html"&gt;http://www.npsnet.com/danf/cbm/cross-development.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
They have links to simulators and debuggers there, as well as cross-compilers, which I would assume you need since you don't actually have a 6502 to compile with.&lt;br /&gt;
&lt;br /&gt;
There's also a bit of info at this site on instruction sets, history, and Commodore and Apple (both of which used 6502) as well as some Nintendo info:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.geocities.com/SiliconValley/Byte/6508/6502/english/index.htm"&gt;http://www.geocities.com/SiliconValley/Byte/6508/6502/english/index.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, &lt;a href="http://www.6502.org/"&gt;http://www.6502.org/&lt;/a&gt; is packed with info, links, and message boards geared toward the 6502 fanatic!&lt;br /&gt;
&lt;br /&gt;
Have fun!&lt;br /&gt;
&lt;br /&gt;
Melissa&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/82888/re-6502-processor-emulator/#82888</guid>
      <pubDate>Sat, 20 Oct 2001 16:42:06 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>Re: 6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/82900/re-6502-processor-emulator/#82900</link>
      <description>: How do you get this far if you don't know how to program in 6502?&lt;br /&gt;
&lt;br /&gt;
Well, I didn't mean to say I don't know how to programin in 6502. It's just a matter of not knowing exactly what every instruction does.&lt;br /&gt;
&lt;br /&gt;
Thanks for the info, I'll check it out. I'll post an occasional update on my progress for any who are interested.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/82900/re-6502-processor-emulator/#82900</guid>
      <pubDate>Sat, 20 Oct 2001 17:29:05 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>Re: 6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/82901/re-6502-processor-emulator/#82901</link>
      <description>: : How do you get this far if you don't know how to program in 6502?&lt;br /&gt;
: &lt;br /&gt;
By the way, I hope this came across the way I meant it. It wasn't a criticism. In fact, I was amazed that you had done as much as you had to this point, without being experienced in 6502&lt;br /&gt;
&lt;br /&gt;
: &lt;br /&gt;
: Thanks for the info, I'll check it out. I'll post an occasional update on my progress for any who are interested.&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
I'm interested! Let us know how you do!&lt;br /&gt;
&lt;br /&gt;
Melissa&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/82901/re-6502-processor-emulator/#82901</guid>
      <pubDate>Sat, 20 Oct 2001 17:37:54 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>Re: 6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/82915/re-6502-processor-emulator/#82915</link>
      <description>I understood, not to worry.&lt;br /&gt;
&lt;br /&gt;
Anyhow, at this point I have created a debugging program (similar to Win/dos' debug.exe) for the 6502 emulator I've created. It's not fully featured, but it can assemble, disassemble, do memory dumps and data entry, and trace the code. I may still have a few bugs with the functioning of the individual instructions, but at least the ADC and SBC ops, as well and many others, appear to work correctly. Most importantly, the flow control instructions appear to be functioning.&lt;br /&gt;
&lt;br /&gt;
Thanks for your interest.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/82915/re-6502-processor-emulator/#82915</guid>
      <pubDate>Sat, 20 Oct 2001 19:24:24 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>Re: 6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/85487/re-6502-processor-emulator/#85487</link>
      <description>: I dont understood, but look very interssting&lt;br /&gt;
it is all about eMulation for PS2 some sort of old stufff&lt;br /&gt;
do you know a good strating point to become a good progammer&lt;br /&gt;
some library tutorial info ect...&lt;br /&gt;
anyway ill read your post often : P&lt;br /&gt;
see you around and GL&lt;br /&gt;
&lt;br /&gt;
Yazmo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/85487/re-6502-processor-emulator/#85487</guid>
      <pubDate>Wed, 07 Nov 2001 01:20:34 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>Re: 6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/89383/re-6502-processor-emulator/#89383</link>
      <description>: I've created a C++ library that (hopefully) emulates the 6502 (maybe part of the 65C02) processor. ...&lt;br /&gt;
&lt;br /&gt;
Hi James!&lt;br /&gt;
&lt;br /&gt;
Just wondering how the 6502 emulator project is going...&lt;br /&gt;
&lt;br /&gt;
Melissa&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/89383/re-6502-processor-emulator/#89383</guid>
      <pubDate>Sun, 02 Dec 2001 11:47:59 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>Re: 6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/92546/re-6502-processor-emulator/#92546</link>
      <description>I wish I had good news to report, but unless no news is good news, it's not good. With school and everthing else, I haven't gotten any more work done with it. The 6502 processor emulator is fully functional (as far as I can tell), except for decimal mode arithmetic. I created a debug program for it, sort of a clone of Windows debug, which also works.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/92546/re-6502-processor-emulator/#92546</guid>
      <pubDate>Fri, 21 Dec 2001 22:07:21 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>Re: 6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/92617/re-6502-processor-emulator/#92617</link>
      <description>: I wish I had good news to report, but unless no news is good news, it's not good. With school and everthing else, I haven't gotten any more work done with it. The 6502 processor emulator is fully functional (as far as I can tell), except for decimal mode arithmetic. I created a debug program for it, sort of a clone of Windows debug, which also works.&lt;br /&gt;
: &lt;br /&gt;
It sounds like you're doing OK, and keeping priorities straight. It's more important to finish school stuff, though not as much fun.&lt;br /&gt;
&lt;br /&gt;
I have work that gets in my way too!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: Purple;"&gt;Melissa&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/92617/re-6502-processor-emulator/#92617</guid>
      <pubDate>Sat, 22 Dec 2001 08:10:40 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>Re: 6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/92711/re-6502-processor-emulator/#92711</link>
      <description>I wish prioritizing my projects was as cut and dry as prioritizing everything else. I get too much stuff going on at once and leave other things in the dust.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/92711/re-6502-processor-emulator/#92711</guid>
      <pubDate>Sat, 22 Dec 2001 20:27:46 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>Re: 6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/113296/re-6502-processor-emulator/#113296</link>
      <description>: I've created a C++ library that (hopefully) emulates the 6502 (maybe part of the 65C02) processor. I believe it was used in the Commodore, as well as the Nintendo Entertainment System. I've created it as a step toward creating my first emulator, for the NES. However, to put it lightly, the docs I've found suck, so I'm not sure I've implemented every instruction appropriately. To help debug it, I'm creating an application similar to windows' debug that will allow me to essentially program for the 6502 and trace the code. But seeing as how knowing how to program for the 6502 and knowing what each instruction does are essentially the same thing, I must say I don't really know how to program for the 6502.&lt;br /&gt;
: &lt;br /&gt;
: So, to the point. If anyone has 6502 (and/or 65C02) source code they could donate to my cause, I'd appreciate it. And if you're interested in taking a more active role as an experienced 6502 programmer, I'd appreciate that as well. &lt;br /&gt;
: &lt;br /&gt;
: If so, contact me by email (anthem.dsl@verizon.net) or ICQ (2063124).&lt;br /&gt;
: &lt;br /&gt;
: Thanks,&lt;br /&gt;
: James&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
James, wasn't this the same 6502 that was in Amiga and Apple II?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/113296/re-6502-processor-emulator/#113296</guid>
      <pubDate>Sat, 27 Apr 2002 04:52:13 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>Re: 6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/113336/re-6502-processor-emulator/#113336</link>
      <description>: &lt;br /&gt;
: James, wasn't this the same 6502 that was in Amiga and Apple II?&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
Unfortunately I'm not quite old enough to have lived the glory days of those computers, nor do I know much about them. But certainly it may be the same 6502. &lt;br /&gt;
&lt;br /&gt;
If you (or anyone, for that matter) would like a copy of my emulator/debugger, email me and I'd be happy to oblige. My email address should be given above.&lt;br /&gt;
&lt;br /&gt;
James&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/113336/re-6502-processor-emulator/#113336</guid>
      <pubDate>Sat, 27 Apr 2002 10:13:11 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>Re: 6502 Processor Emulator</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/127120/re-6502-processor-emulator/#127120</link>
      <description>Hi people, here's a good page, the C64 programming one.  Find the chapter on machine language programming.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.c64.ch/programming/C64PRG10.txt"&gt;http://www.c64.ch/programming/C64PRG10.txt&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Here's some other pages:&lt;br /&gt;
&lt;a href="http://www.c64.ch/programming/memorymap.asp"&gt;http://www.c64.ch/programming/memorymap.asp&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.obelisk.demon.co.uk/6502/"&gt;http://www.obelisk.demon.co.uk/6502/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I've got a C64 at home (with a 6510 processor), so I could test some code for you (but it's tedious because I must use POKEs in BASIC).  E-mail me any code at bthompson67665@yahoo.com&lt;br /&gt;
&lt;br /&gt;
Here's a loader for a game called DEFENDER I hand-disassembled included with the hex dump in the comments, real comments are after pipes:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
;Load at address $02A8:
sei ;78
lda $01,zp ;A5 01 | Use zero-page addressing.
and #$FE ;29 FE | Clear bit0.
sta $01,zp ;85 01 | Use zero-page addressing.
lda #08 ;A9 08 | This load the logical file number (file handle).
ldx #08 ;A2 08 | Device #8, the first floppy drive.
ldy #$FF ;A0 FF | Secondary addr on serial bus, $FF if none specified.
jsr $FFBA ;20 BA FF | SETLFS: Set First and Second Logical Address.
lda #03 ;A9 03 | Length of the filename, not zero-based.
ldx #C9 ;A2 C9 | Point Y:X to the file name, at $02C9.
ldy #02 ;A0 02
jsr $FFBD ;20 BD FF | SETNAM: Set Filename
lda #00 ;A9 00 | 0=Load, 1=Verify
jsr $FFD5 ;20 D5 FF | LOAD: Load RAM from device.
jmp $8009 ;Jump to code.
.db "DD*" ;This loads the defender program, this is at address $02C9.
&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/127120/re-6502-processor-emulator/#127120</guid>
      <pubDate>Sun, 14 Jul 2002 19:46:44 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/375165/this-post-has-been-deleted/#375165</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/375165/this-post-has-been-deleted/#375165</guid>
      <pubDate>Thu, 11 Sep 2008 18:59:29 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/emulation/82290/375171/this-post-has-been-deleted/#375171</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/emulation/82290/375171/this-post-has-been-deleted/#375171</guid>
      <pubDate>Thu, 11 Sep 2008 19:03:25 -0700</pubDate>
      <category>Computer Emulators</category>
    </item>
  </channel>
</rss>