Last visit was: Fri Nov 01, 2024 12:35 am
It is currently Fri Nov 01, 2024 12:35 am



 [ 2 posts ] 
 Thor Test System Emulator 
Author Message

Joined: Sat Feb 02, 2013 9:40 am
Posts: 2205
Location: Canada
I'm working on a test system emulator for the Thor Core project. It's based somewhat on the FISA64 emulator. It's a Visual Studio 10 Express project. And features reasonably fast emulation of the test system. (It reports 0.7MHz emulation rate while the real system runs at 25 MHz).
The most recent update is to support changes to the ISA for a newer segmentation model.

Anyway, I can't get the debug screen to work, it displays as blank and it's really strange because the debug screen is just an instance of a "screen" object and the main screen "screen" object seems to work. Writes to the debug screen are indeed updating the debug screen memory. If I switch the memory address to $FFFD0000 (the main screen) for debug output then the debug output appears on the main screen. So I'm pretty sure the "screen" object is working. Right now I'm trying to identify a difference in how the debug screen is setup or used versus the main screen.

_________________
Robert Finch http://www.finitron.ca


Mon Jul 25, 2016 11:48 pm WWW

Joined: Sat Feb 02, 2013 9:40 am
Posts: 2205
Location: Canada
Found the problem with the debug screen display. During display rendering (paint event on a picturebox) the entire form was being invalidated instead of just the display control. Briefly, invalidating the control at the end of rendering it creates a display loop which causes the next render.
Code:
             this->Invalidate();

Should have been
Code:
             this->pictureBox1->Invalidate();

Why it worked for one screen and not the other is a mystery still.

_________________
Robert Finch http://www.finitron.ca


Wed Jul 27, 2016 6:43 am WWW
 [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 0 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

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software