Hi all;
I picked up a TI 84+SE so I could play around with Z80 assembler. I dont have a compiler or anything, so I write code on paper and converted it to hex to key into the calculator. I dont plan on writing anything big, so this works OK. Here's a program I wrote that displays 48 bytes of memory starting at address 9d95h, which displays this program. I tried to dump memory of some bcalls just to see what they looked like, but the results don't look like what I expected. Bcalls look like they are a table of 3 byte long calls or jumps to other addresses, but what I saw looked like ordinary code. Does that mean that the bcall code gets swapped in and out of the address where I think it is. If that's true, how do I swap areas of memory or is that too complicated. I spent the last few days looking thru the forum for this information, but I didn't find anything.
program to dump 48 bytes of memory.
current starting dump address is 9d95, which shows this program.
change the starting address to show different memory areas.
C3 b3 9d
4F
CD a1 9d
79
CD a5 9d
C9
1F
1F
1F
1F
E6 0F
F6 30
FE 3A
38 02
C6 07
EF 04 45
C9
21 95 9d ----->9d95, starting address to dump, low, high byte
06 30 ----->30, hex number of bytes to show (48 decimal)
7E
CD 98 9d
23
10 f9
C9
Thanks
Dave
I picked up a TI 84+SE so I could play around with Z80 assembler. I dont have a compiler or anything, so I write code on paper and converted it to hex to key into the calculator. I dont plan on writing anything big, so this works OK. Here's a program I wrote that displays 48 bytes of memory starting at address 9d95h, which displays this program. I tried to dump memory of some bcalls just to see what they looked like, but the results don't look like what I expected. Bcalls look like they are a table of 3 byte long calls or jumps to other addresses, but what I saw looked like ordinary code. Does that mean that the bcall code gets swapped in and out of the address where I think it is. If that's true, how do I swap areas of memory or is that too complicated. I spent the last few days looking thru the forum for this information, but I didn't find anything.
program to dump 48 bytes of memory.
current starting dump address is 9d95, which shows this program.
change the starting address to show different memory areas.
C3 b3 9d
4F
CD a1 9d
79
CD a5 9d
C9
1F
1F
1F
1F
E6 0F
F6 30
FE 3A
38 02
C6 07
EF 04 45
C9
21 95 9d ----->9d95, starting address to dump, low, high byte
06 30 ----->30, hex number of bytes to show (48 decimal)
7E
CD 98 9d
23
10 f9
C9
Thanks
Dave