Testing the KERN*L

rje

New Member
Nov 6, 2019
26
11
3
I'm testing out the r36 ROM, and started with RAMTAS. I start by randomizing the memory in pages 0, 2, and 3, then call RAMTAS and see what happens.

Here's what I'm seeing. Plainly, the X16 KERN*L does some initialization that the C64 (for example) doesn't, by setting memory locations 0x2c4 - 0x2e3, and 0x38b - 0x3ca:

--------------------------------------------------------------------------------
Bank 0 Before RAMTAS
--------------------------------------------------------------------------------
0000 11 01 cc 62 1d d1 50 bc e2 c0 79 27 3e db 93 00 ......P....'>...
0010 89 50 0f 53 15 69 b8 bf 7e 4c 99 24 18 65 e4 36 .P.S.....L.$...6
0020 2c 31 f3 3d ce 6d 76 1c 18 09 96 86 65 74 6f 35 ,1.=...........5
0030 9a b2 9d b8 f3 b3 6e 2c 50 b9 c0 8c 9a 9a c8 a6 .......,P.......
0040 58 7a c4 27 e9 d0 fb 8c db 3d 11 b1 cc 2d e9 47 X..'.....=...-.G
0050 4e 5e 25 cb 42 9e 3c a8 fe 00 40 cf 03 4b df 17 N.%.B.<...@..K..
0060 29 e1 dd b5 c2 de d6 b6 f0 cc 84 d1 87 d3 55 09 ).............U.
0070 e8 bc 1e 6d 14 c1 f1 e3 e7 65 22 d7 b8 38 7d 40 .........."..8.@
0080 f3 dc ef 56 4e 4d 72 f2 e7 57 1f f5 67 47 ec 1b ...VNM...W...G..
0090 70 85 ef 33 d1 d5 b1 90 94 e1 a2 15 ad 2e 56 86 ...3..........V.
00A0 ba 76 54 4a 43 fa 41 14 a1 e5 ea 98 bc 68 45 5d ..TJC.A.......E.
00B0 37 45 94 00 8f f7 79 86 9d 43 dc ad 33 66 43 db 7E.......C..3.C.
00C0 e4 53 70 fb 47 28 da 04 37 13 86 99 d4 04 04 57 .S..G(..7......W
00D0 5b 03 58 24 bd 0e 84 fc 37 93 31 4f c3 30 86 d4 [.X$....7.1O.0..
00E0 30 1d 5d 0c b7 3c 45 bc c9 cb cb 17 a3 59 4c 1c 0....<E......YL.
00F0 d3 8a 1d 8c a2 f1 12 60 df 37 ce 36 31 72 08 76 .........7.61...

--------------------------------------------------------------------------------
Bank 2 Before RAMTAS
--------------------------------------------------------------------------------
0000 75 ca 6b ba 83 5b d9 17 b0 f7 e1 b5 31 b4 6e 25 .....[......1..%
0010 7e d3 a5 6f 36 ac 08 43 b4 58 e7 d5 df 73 0f 42 ....6..C.X.....B
0020 a5 44 e2 05 9b 89 3c fb 95 b7 37 c8 2a 92 4f a7 .D....<...7.*.O.
0030 b8 0e 7a 0f cb 87 ea df f0 0b 1d aa 61 81 fe f3 ................
0040 95 fb 9a 22 77 ab fd 5d ef 9c f9 f1 32 d9 11 df ..."........2...
0050 f6 ce d3 00 0a 32 b7 bb 06 b6 90 b7 12 df 86 77 .....2..........
0060 06 c8 df b4 30 05 50 9e 64 5b 61 9c 68 a4 77 da ....0.P..[......
0070 e1 d6 0f 72 ce ab 21 dd e6 3b 1d 29 27 82 da a7 ......!..;.)'...
0080 7a c0 1a 4d ae 9f 5e c1 90 89 83 e9 9d 1b 84 34 ...M...........4
0090 80 08 3b 0d 46 4c 9f 23 e9 61 4f a7 ad 2e 5c 2f ..;.FL.#..O..../
00A0 49 61 d6 bf 6f 24 c0 f6 b1 d7 fc 80 bf e0 dd 51 I....$.........Q
00B0 d9 ed 23 cf f9 90 e1 2a db fc 76 c5 06 50 4e 35 ..#....*.....PN5
00C0 7d 9e 7f af 5e ac 86 05 b7 49 15 cb 01 89 5e 8d .........I......
00D0 a7 6e 72 78 17 0a 1b 52 b5 5d 6d 2b 50 38 f6 35 .......R...+P8.5
00E0 f3 54 81 f3 42 fb 69 0c 3b f4 d0 1b 2f af 79 ea .T..B...;.../...
00F0 88 1c 61 fb a4 08 b3 5d 6b 7c 91 d5 4c 1f c9 9d ............L...

--------------------------------------------------------------------------------
Bank 3 Before RAMTAS
--------------------------------------------------------------------------------
0000 3e 94 24 37 3f ac 93 1b d7 bc 62 37 ba 0e c4 b0 >.$7?......7....
0010 35 a7 6c 7c f2 6a c7 21 74 67 5e 0f 32 7b 0c 95 5......!....2...
0020 d3 5e c1 74 f0 d4 86 23 69 93 98 ce f8 2f 50 8c .......#...../P.
0030 44 ec 9c 51 f7 29 14 dc 66 6f 3f 85 fd 29 74 91 D..Q.)....?..)..
0040 fc 2b bc a1 96 8e a0 c4 b6 b4 b1 5e 20 2e 36 a6 .+.......... .6.
0050 e1 2e da 93 f3 12 b6 98 3c 9a 0b 12 ad e5 45 0e ........<.....E.
0060 05 e5 d1 3c d5 00 bb 70 f4 68 18 f6 70 09 e0 2c ...<...........,
0070 20 e4 ce b4 ec 2e 4a 2c c8 d2 a6 a5 fd 95 6b 0d .....J,........
0080 3c c0 26 11 90 49 6a 6a ba c5 99 69 0f 01 99 de <.&..I..........
0090 3e b3 ce 9e 81 5a e7 5a c0 57 5d db 0c e2 15 ca >....Z.Z.W......
00A0 2d 66 b4 d1 53 e9 55 1a d0 f1 77 6b 22 8f cc 0b -...S.U....."...
00B0 7a 04 5a dd 91 98 7a 7b f4 f2 63 bc 7e a3 42 26 ..Z...........B&
00C0 a4 17 78 ec d3 0f 30 3f 6b 62 f8 10 98 69 8b 90 ......0?........
00D0 e9 ba 9d 4f 35 88 fa 51 2c 69 04 24 92 9f db 4f ...O5..Q,..$...O
00E0 f9 1e ed 3b 06 64 d1 75 4c a8 d9 3f 27 16 cc 43 ...;....L..?'..C
00F0 cd 89 8c e0 90 95 fc 6a 26 b2 fb 55 a9 15 bb 21 ........&..U...!

--------------------------------------------------------------------------------
Bank 0 After RAMTAS
--------------------------------------------------------------------------------
0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

--------------------------------------------------------------------------------
Bank 2 After RAMTAS
--------------------------------------------------------------------------------
0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0050 00 00 08 00 9f 01 00 00 00 00 00 00 00 00 00 00 ................
0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00C0 00 00 00 00 8d 60 9f 68 28 20 e1 02 08 48 da ba ........( ...H..
00D0 bd 04 01 8d 60 9f bd 03 01 9d 04 01 fa 68 28 28 ..............((
00E0 60 4c ff ff 00 00 00 00 00 00 00 00 00 00 00 00 .L..............
00F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

--------------------------------------------------------------------------------
Bank 3 After RAMTAS
--------------------------------------------------------------------------------
0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0080 00 00 00 00 00 00 00 00 00 00 00 48 da ad 60 9f ...........H....
0090 48 a9 00 8d 60 9f a9 03 48 a9 a4 48 ba bd 06 01 H.......H..H....
00A0 48 6c fe ff 68 8d 60 9f fa 68 40 8d 60 9f b1 ff H.........@.....
00B0 8e 60 9f 60 a9 ff 91 ff 68 8d 61 9f 60 8d 60 9f ................
00C0 68 d1 ff 08 8e 60 9f 4c 5f de 00 00 00 00 00 00 .......L........
00D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
 
May 22, 2019
592
300
63
Since the kernel is going to be completely re-written, I wouldn't worry about any testing or development work at the moment.