6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 6:57 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Aug 27, 2018 3:43 pm 
Offline

Joined: Sun Aug 26, 2018 7:33 pm
Posts: 4
hi everyone! as i tried some experiences on over 100 z80-based classic arcade machines (using mame emulator), i started to do the same on 6502-based ones - for now i'm just trying to "poke" something in the display area, but nothing appears there - do anyone can see what is happening there? thanks in advance!
https://drive.google.com/file/d/1CRMMU7 ... G2VXy/view


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 28, 2018 12:10 am 
Offline

Joined: Fri Apr 15, 2016 1:03 am
Posts: 140
I'm not familiar with MAME, but I'm wondering if you need to arrange for execution to get to your code at $1000.

A hardware Z80 coming out of reset starts executing at $0000, so usually there is ROM at that address with code to run.
A hardware 6502 coming out of reset starts executing where the reset vector at $FFFC & $FFFD points, so usually there is ROM at those addresses containing the vectors & code to run.

Do you need a constant word at $FFFC initialized to $1000?


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 28, 2018 1:22 pm 
Offline

Joined: Sun Aug 26, 2018 7:33 pm
Posts: 4
thanks! i’m really a 6502 newbie, and i had no idea what these vectors are - they are actually mentioned at https://raw.githubusercontent.com/mamed ... circus.cpp - and saying that the last rom placed at $1E00 is mirrored at $FE00 as well, having these vector bytes - now it seems to run fine! thanks again! :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: