Skip to content

Latest commit

 

History

History

sdk85funpart4

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SDK-85 fun - part 4

Some rights reserved! Vintage technology preserved.


Previous Index Next

MCS-85 secondary rom bank 101

An example session - continued from SDK-85 fun - part 3

Howto boot custom rom bank from Intel MCS-85 monitor

If MAME/MESS64 is used, press space twice to get over intro screen! Other steps are same in both virtual or baremetal environments.

MESS64-SDK85-1.PNG

MESS64-SDK85-2.PNG

Below is the sdk85's greetings, "POST screen" meaning evboard is okay and ready to use.

MESS64-SDK85-3.PNG

The stack pointer and program counter MUST have been initialized before work! Let's assign values 20C2H and 0800H to SP and PC respectively:

Examine registers:

  • MESS64-SDK85-4.PNG

Jump through F register:

  • MESS64-SDK85-5.PNG

Jump through again:

  • MESS64-SDK85-6.PNG

And again:

  • MESS64-SDK85-7.PNG

Still not stack pointer:

  • MESS64-SDK85-8.PNG

At least!

  • MESS64-SDK85-9.PNG
  • MESS64-SDK85-10.PNG
  • MESS64-SDK85-11.PNG
  • MESS64-SDK85-12.PNG
  • MESS64-SDK85-13.PNG
  • MESS64-SDK85-14.PNG

Now PC register is set:

  • MESS64-SDK85-15.PNG
  • MESS64-SDK85-16.PNG
  • MESS64-SDK85-17.PNG
  • MESS64-SDK85-18.PNG
  • MESS64-SDK85-19.PNG
  • MESS64-SDK85-20.PNG

Pressing "Next" finishes examining CPU registers, then "Go" and "Exec" should have been pressed in order to boot secondary rom bank:

  • MESS64-SDK85-21.PNG
  • MESS64-SDK85-22.PNG
  • MESS64-SDK85-23.PNG

Till this, every steps are the same regardless of the contents of the custom rom bank, entry points - PC values may vary.

Having fun with custom mastermind ROM

"0" to press in order to start a new game

  • MESS64-SDK85-24.PNG

First 3 guesses are cut, just 2 finals were kept before winning the game. Next-to-last try is "5 6 2 1"

  • MESS64-SDK85-25.PNG
  • MESS64-SDK85-26.PNG
  • MESS64-SDK85-27.PNG
  • MESS64-SDK85-28.PNG

"Two bulls one cow" :-) Two black sticks and one white:

  • MESS64-SDK85-29.PNG

"6 4 2 1" succeeded!

  • MESS64-SDK85-30.PNG
  • MESS64-SDK85-31.PNG
  • MESS64-SDK85-32.PNG
  • MESS64-SDK85-33.PNG

Machine celebrates winner blinking seven segment LED display:

  • MESS64-SDK85-34.GIF

Button "3" must be pressed in order to continue and show number of tries:

  • MESS64-SDK85-35.PNG

Pressing zero restarts the game:

  • MESS64-SDK85-36.PNG

Have fun!

Keyboard layout incompatibility notes with new MAME

MAME developers silently(?) changed the keyboard mapping in sdk85. For the curious a rosetta table is below, the latest valid mappings are in sdk85.cpp in MAME's source repository.

MCS-85 Old mapping New mapping
0 0 0
1 1 1
2 2 2
3 I 3 3
4 SPH 4 4
5 SPL 5 5
6 PCH 6 6
7 PCL 7 7
8 H 8 8
9 L 9 9
A A A
B B B
C C C
D D D
E E E
F F F
Exec Q .
Go R G
Next Up ,
Exam Y X
Subst T S
Single U /

Remarks

Apologies about the screenshots: it was a bit new to us (or just forgotten decades ago) that 4-5-6-7 buttons are shortcuts for SP and PC when examining registers!

According to our knowledge, there is no official working MCS-85 secondary rom bank support in MAME, hopefully it will change in the near future!

Have fun!

Links


Previous Index Next