Jump to content
IGNORED

TI-99/2 questions


mizapf

Recommended Posts

okay. i will try to relocate it now and check the results

EDIT: poking all wanted values to E100 (-7936) was successful.

Now I will try to run MCHL in addition.
And if that works as well I will try to add my dump program.

Edited by kl99
Link to comment
Share on other sites

1 CALL POKE(-7936, 2, 12, 224, 0, 29, 1, 2, 0)
2 CALL POKE(-7928, 64, 0, 2, 1, 225, 128, 2, 2)
3 CALL POKE(-7920, 0, 16, 204, 112, 6, 66, 22, 253, 4, 91)
4 CALL MCHL(-7936)
5 PRINT "DONE"

 

Is this correct?

It did crash.

 

EDIT: edited to change the buffer to >E180

Now it did RUN but there was it was not performing line 5, the PRINT command. Could it be that the assembly code exits wrong so there is no nice return to the basic prg?

Edited by kl99
Link to comment
Share on other sites

yes, will do that Michael.

However I peeked now in the expected area where we wrote the assembler code.

That was still intact.

And I peeked the 16 values from -7808 to -7791.

It seems writing was done, it is matching the bank #3, however the non hidden one.

0,0,6,160,38,88,6,160,38,42,200,2,234,98,4,224,242,29

Edited by kl99
Link to comment
Share on other sites

yes, will do that Michael.

However I peeked now in the expected area where we wrote the assembler code.

That was still intact.

And I peeked the 16 values from -7808 to -7791.

It seems writing was done, it is matching the bank #3, however the non hidden one.

0,0,6,160,38,88,6,160,38,42,200,2,234,98,4,224,242,29

 

Yes, this is matching the first 32 hexadecimal values of the dump of bank 3. so the switching was not working, the copying DID work!

00 00 06 A0 26 58 06 A0 26 2A C8 02 EA 62 04 E0

Link to comment
Share on other sites

it did run now. will peek into the area to see if it did what we want :)

 

1 CALL POKE(-7936,2,12,224,0,30,0,2,0)
2 CALL POKE(-7928,64,0,2,1,225,128,2,2)
3 CALL POKE(-7920,0,16,204,112,6,66,22,253,4,91)
4 CALL MCHL(-7936)
5 PRINT "DONE"

Edited by kl99
Link to comment
Share on other sites

If it crashes with SBO 0, then this is more likely to be correct; it means it "cares" what bank is active. In that case we must reset it with SBZ 0 before returning.

 

can you post how to change the program? I would be needing hours

Link to comment
Share on other sites

...
3 CALL POKE(-7920,0,16,204,112,6,66,22,253,30,0,4,91)

 

thank you a lot. it seems we are almost there. the program returned to the title screen. however the ram shows the correct values of the hidden(!) bank at -7808 to -7792.

Link to comment
Share on other sites

Here is the last Eprom, that was missing til now:

romB-4000-5fff.bin

 

dump-succeeder.bas

1 GOTO 100
10 CALL POKE(-7936,2,12,224,0,29,0,2,0)
20 CALL POKE(-7928,94,0,2,1,225,128,2,2)
30 CALL POKE(-7920,2,0,204,112,6,66,22,253,30,0,4,91)
40 CALL MCHL(-7936)
100 OPEN #1:"HEXBUS.20.B=9600.D=7.S=1.P=E",OUTPUT
110 FOR I=-7808 TO -7297
120 CALL PEEK(I,P)
130 H1=INT(P/16)
140 H2=P-H1*16
150 IF H1>9 THEN 180
160 H1$=CHR$(48+H1)
170 GOTO 190
180 H1$=CHR$(87+H1)
190 IF H2>9 THEN 220
200 H2$=CHR$(48+H2)
210 GOTO 230
220 H2$=CHR$(87+H2)
230 PRINT #1:H1$;H2$;
240 PRINT H1$;H2$;
250 NEXT I
260 CLOSE #1

Line 1 was commented out when I wanted to run the POKEs.

Line 20 the first value after the address -7928 got increased by 2 to jump by 512 bytes.

Each run transmitted 512 bytes over the Hex-Bus via the RS232 device.

This was done 16 times to get 8192 bytes in total.

Next step is verifying the ROM dump against the print out we have by making the binary match the formatting of the print out. This should reveal any diffs best.

 

Many thanks to Mike Wright and M.Zapf!

Edited by kl99
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...