EASy68K  
It is currently Tue Apr 25, 2017 6:28 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Reset: Initial SSP
PostPosted: Tue Jul 26, 2016 3:55 pm 
Offline

Joined: Tue Jul 26, 2016 2:05 pm
Posts: 3
I'm having a little trouble with the simulator. I'm using it to simulate bootloader code for some custom hardware. But as far as i can tell the behaviour at reset is different between the simulator and a real 68000. The following is stated in the help files:
Quote:
When the simulator starts up the supervisor bit is set on and the supervisor stack pointer is set to the value 1000000 (hex).

I expect the simulator to load the initial SSP at address $0 as the hardware would. I could make a debug flag to use when i simulate the code and set the SSP manually but I feel like I'm missing something obvious. And i really dont want too many dissimilarities between the simulated code and the code running on my hardware. Can anybody help me out?


Top
 Profile  
 
 Post subject: Re: Reset: Initial SSP
PostPosted: Tue Jul 26, 2016 7:58 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1036
Location: Monroe County Community College, Monroe Michigan, U.S.A.
Select Enable Exceptions under the Options menu.
Select Hardware under the View menu.
The Reset button on the hardware panel will perform a hardware reset of the 68000 including loading stack and PC from the contents of the first 8 bytes of memory.

_________________
Prof. Kelly


Top
 Profile  
 
 Post subject: Re: Reset: Initial SSP
PostPosted: Tue Jul 26, 2016 9:51 pm 
Offline

Joined: Tue Jul 26, 2016 2:05 pm
Posts: 3
Thanks a lot! It is a little cumbersome to manually reset the simulator every time but it does do exactly what i needed!


Top
 Profile  
 
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 1 guest


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:  
Powered by phpBB® Forum Software © phpBB Group