I'm new on this group, found it by scanning the netz for useful information for my HP41 emulation project.
See https://sourceforge.net/projects/hp41cx for more information about this.
Now I got a problem during implementation of the Time-Modul. I forked the phineas modul and wrote me own implementations to fit on the design.
And after I tiped in XEQ 'CLOCK' ENTER the calculator runs in an undocumented?? opcode on the Timer-Module-Code.
What does this Opcode do?
address hex spitted
0x5a68 0x18 ; 0000_0110_00 ... ...._...._.. : ???
As you can see on the log the programm writes the SCRegister and after LDI 192 it runs on 0x18 opcode which is not described anywhere.
Any idea?
Another problem is.
If I ignore such undocumented opcodes (NOP), the calculator tries access to the periphery and ram in parallel. (Valid RAM and periphery (clock) selected)
Is there any way to figure out which device (periphery or ram) shall be used?
Any hint will be graceful.
cio. notwendig
- Code: Select all
0x5fc8 0x398 ; 1110_0110_00 ... ...._...._.. : C = ST
0x5fc9 0x128 ; 0100_1010_00 ... ...._...._.. : REG[4] =C
set ( 0x00000000000008) WSCR = addr=0x00fb, size=1
cd 0 0
wu 0 0
tm 0x546a9802
cl 0 0
al 0x9184e729c18 0x4c4cef
st 0x480
ac 0
it 0 0x1
ts 0x8
sl 0
END
0x5fca 0x3c4 ; 1111_0001_00 ... ...._...._.. : CLRST
0x5fcb 0x288 ; 1010_0010_00 ... ...._...._.. : S[7] = 1
0x5fcc 0x2c4 ; 1011_0001_00 ... ...._...._.. : S[13] = 0
0x5fcd 0xfd ; 0011_1111_01 0x17e ; 0101_1111_10 : GOLNC 5f3f
0x5f3f 0x185 ; 0110_0001_01 0x168 ; 0101_1010_00 : GSUBNC 5a61
0x5a61 0x4e ; 0001_0011_10 ... ...._...._.. : C<X> = 0
0x5a62 0x3f0 ; 1111_1100_00 ... ...._...._.. : PFAD = C
0x5a63 0xe0 ; 0011_1000_00 ... ...._...._.. : SELQ
0x5a64 0x2dc ; 1011_0111_00 ... ...._...._.. : PT = 13
0x5a65 0xa0 ; 0010_1000_00 ... ...._...._.. : SELP
0x5a66 0x130 ; 0100_1100_00 0xc0 ; 0011_0000_00 : LDI 192
0x5a68 0x18 ; 0000_0110_00 ... ...._...._.. : ???