Menu

I have just released version 06 of FlexxCpu.

The main difference with respect to the version 05_rev_F1 is the simulation of the color screen (!)
Try the asm example "Flexx_ColorMode_Test.asm" included to test the simulation of the color screen.
To change the video mode you need to write these instructions:
// switch to color mode
SET V, 3 ----> // 2=monochrome mode 3=color mode
OUTP 0x10, V
The OUTP opcode has been changed, I have exchanged the first argument (the register) with the second (the port address).
Now, in the simulation of the color screen, the access to video memory occurs at 16 bits instead of 8 as occurs in monochrome mode.
In the configuration file I added a variable that represents the video mode set.
The second difference I introduced is to have added four states into the CPU, this has allowed to reorganize the simulation in a much more efficient way. I also made a slight optimization of code by removing some unused variable (int wRunning).
With this small optimization the main loop of cpu simulation seems to go slightly faster (!)
If you are not interested in the simulation of the color text, I suggest you to download the version 05_rev_F1
that is the best version that has ever released.
Well, that's all..
I greet you and thank you.

Posted by Davide Ug. Lini 2018-05-05

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.