Microbot TeachMover 6502 based Robot Arm, Memory Map
-
leeeeee
- In Memoriam
- Posts: 347
- Joined: 30 Aug 2002
- Location: UK
- Contact:
-
falcon5252
- Posts: 74
- Joined: 16 Aug 2011
- Location: USA Pa
I found a SBC 65C02P2 $30 just bought it... Main board from a arcade game..16k ram, 16k rom, 2 via, 6 x 8 bit latched outputs 2 relays and 10 unpopulated & un-socketed places for what appears to be more latches or buss drivers routed to dip & sip headers, Plus 2 serial port drivers but no ACIA .. Looks like it will bee a good project board
When falling from a high place, You might as well try to fly
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
leeeeee wrote:
Ok. Definately not abandonware. The current page for Michal's simulator is http://exifpro.com/utils.html
Lee.
Lee.
This new version has a help file in addition to the doc's...
I've actually become more interested the abilities of the disassembler part of MK's work, when one opens a .bin/binary file in order to analyze.
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
leeeeee wrote:
I've found a current email address for Michal and have asked him for permission, I'm just waiting on a reply.
As it's written in Microsoft Visual C a lot of it is pretty impenetrable. I've asked about this before and the consensus seemed to be it would be easier to write a new program than port this one to C++.
Lee.
Quote:
can we get a project to udpate it for other things like 816 or 32 or org32?
Lee.
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
falcon5252 wrote:
Tony ... I'm just going by what Lee Recommended.. And I just downloaded it 15 min ago so I have no Idea what it is capable of.. Besides I don't see allot of alternatives that will run in windows.. So are there any windows based Compilers...
Quote:
Wheres a good place to buy a 4mhz or faster 65802 & 65C02P4 at a decent price that takes Paypal.. I know its not ebay 65C02P4 listed at $79
The 65C02 can be purchased directly from WDC or from other sources. The stock part is rated at 14 MHz, but can be run as slowly as you desire.
Quote:
Do the 65802's default to 8 bit mode or do they need a command in the Prom reset vector to set the Mode..
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Quote:
If you want 16-bit functionality you should consider the 65C815
You can easily make the same board take either a 65c02 or an '816, using a few jumpers to make the choice. It is not necessary to latch, decode, or use the 816's high address byte to take advantage of many of the 816's strengths over the '02. You can totally ignore that bank byte if you're not interested in anything outside the first 64K bank. That's pretty much what the '802 does. I have one in a socket intended for the 65c02. I have one spare, but it's not for sale!
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
As long as we're talking about the Kowalski simulator, you should know that there is functionality in it that is undocumented. I will give you a little teaser and then explain more at another time. Here is a code excerpt from the SCSI driver I am writing for my POC unit:
Paste the above into a new code window in the simulator, assemble and use [Alt-6] to display the symbol table and look at the values generated for the above symbols.
Code: Select all
; 53C94 interrupt status register masks...
;
c94irsel =@00000001 ;selected
c94irsla =c94irsel << 1 ;selected w/ATN
c94irrsl =c94irsla << 1 ;reselected
c94irso =c94irrsl << 1 ;successful operation
c94irsr =c94irso << 1 ;service request
c94irdis =c94irsr << 1 ;disconnected
c94ircmd =c94irdis << 1 ;invalid command
c94irrst =c94ircmd << 1 ;bus reset-
falcon5252
- Posts: 74
- Joined: 16 Aug 2011
- Location: USA Pa
I just want to convert Lee's Disassembly with the Serial port mod back to a bin file so I can load it to a Am29F010 Flash Mem.. Provided my TOP prom programmer decides to co-operate.. So what is the procedure and what windows based program or programs do I need to accomplish it.. Sorry but I'm not up to speed yet on the 6502 .. What little I did was many years ago with the Motorola 6802 and 6809... like in the early 1980's
Last edited by falcon5252 on Fri Sep 16, 2011 8:37 pm, edited 1 time in total.
When falling from a high place, You might as well try to fly
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
falcon5252 wrote:
I just want to covert Lee's Disassembly with the Serial port mod back to a bin file so I can load it to a Am29F010 Flash Mem.. Provided my TOP prom programmer decides to co-operate.. So what is the procedure and what windows based program or programs do I need to accomplish it.. Sorry but I'm not up to speed yet on the 6502 .. What little I did was many years ago with the Motorola 6802 and 6809... like in the early 1980's
- Load the disassembled source code into the Kowalski simulator.
- Press [F7] to assemble.
- Press [Ctrl-K] to save object code.
- When the save code window opens, select "binary image", click the Options button to set the memory range, provide a filename and save.
-
Nightmaretony
- In Memoriam
- Posts: 618
- Joined: 27 Jun 2003
- Location: Meadowbrook
- Contact:
-
falcon5252
- Posts: 74
- Joined: 16 Aug 2011
- Location: USA Pa
Tony ... Just emailed you a photo of the board,, It was listed as a Star Arcade 6502 CPU Board.. I saw the Rockwell symbol, And could only read the Rxxx2P2, Going by the Rockwell datasheets figured it had to be a 2mhz 65C02P2...
B.D.D .... Thanks for the procedure to get a BIN file.. This is all new, And figuring out what programs to use, Is a bit daunting being they span 30 years, and various operating systems, and some are computer specific, Atari, Comodore, Apple and so on..... Plus minor differences in ASM format from one program to another...AAAH!!
Lee ... Been browsing the disassembly , Need to ask a few questions
1 - Are the I/O addresses set as global declaration for the start address location meaning they can be changed by changing one 16 bit word in the code for the start address for each I/O device...
2 - Can the program memory also be moved by setting a new global base address, For program RAM size & Location . leaving page 0 & 1 just for CPU housekeeping .. I take it both the base address and the memory test routine would both have to be altered... Or is it allot more complicated than I'm thinking.. My goals are, One port it to the new board I just bought .. And better decode the I/O to to free space for more memory and or additional I/O.. It would to be nice to decode all I/O addressing and move all I/O to a 2k block from $0900 to $0FFF
3 - EhBasic .. Does a program written in EhBasic when run create compiled code in memory or is it interpreter based program..
4 - Is there a 6502 Basic that can be compiled or am I out of luck on that...
B.D.D .... Thanks for the procedure to get a BIN file.. This is all new, And figuring out what programs to use, Is a bit daunting being they span 30 years, and various operating systems, and some are computer specific, Atari, Comodore, Apple and so on..... Plus minor differences in ASM format from one program to another...AAAH!!
Lee ... Been browsing the disassembly , Need to ask a few questions
1 - Are the I/O addresses set as global declaration for the start address location meaning they can be changed by changing one 16 bit word in the code for the start address for each I/O device...
2 - Can the program memory also be moved by setting a new global base address, For program RAM size & Location . leaving page 0 & 1 just for CPU housekeeping .. I take it both the base address and the memory test routine would both have to be altered... Or is it allot more complicated than I'm thinking.. My goals are, One port it to the new board I just bought .. And better decode the I/O to to free space for more memory and or additional I/O.. It would to be nice to decode all I/O addressing and move all I/O to a 2k block from $0900 to $0FFF
3 - EhBasic .. Does a program written in EhBasic when run create compiled code in memory or is it interpreter based program..
4 - Is there a 6502 Basic that can be compiled or am I out of luck on that...
Last edited by falcon5252 on Fri Sep 16, 2011 10:07 pm, edited 2 times in total.
When falling from a high place, You might as well try to fly
-
Nightmaretony
- In Memoriam
- Posts: 618
- Joined: 27 Jun 2003
- Location: Meadowbrook
- Contact:
-
leeeeee
- In Memoriam
- Posts: 347
- Joined: 30 Aug 2002
- Location: UK
- Contact:
Quote:
Did you see any evidence of Acel & Decel ramps in the stepper control code or was it just advertising hyp
Also all movemets start and end together, the shorter moves being run more slowly.
Lee.