Skip to content

Commit

Permalink
Co Pro RISC-V: fix type 3 data transfer used by Econet ANFS (#178)
Browse files Browse the repository at this point in the history
Change-Id: I69b2e293e70418638021e393452d28b720848aec
  • Loading branch information
hoglet67 committed Sep 6, 2023
1 parent 99a69e5 commit b3acee4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/riscv/tuberom.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ unsigned char tuberom_riscv_bin[] = {
0x93, 0xd2, 0x82, 0x00, 0x23, 0x8a, 0x51, 0x00, 0x93, 0x83, 0x23, 0x00,
0x6f, 0xf0, 0x9f, 0xfd, 0x83, 0x82, 0x81, 0x01, 0xe3, 0xce, 0x02, 0xf4,
0x83, 0x82, 0x01, 0x01, 0xe3, 0xda, 0x02, 0xfe, 0x83, 0x82, 0x41, 0x01,
0x23, 0x80, 0x53, 0x00, 0x03, 0x83, 0x41, 0x01, 0xa3, 0x80, 0x53, 0x00,
0x23, 0x80, 0x53, 0x00, 0x83, 0x82, 0x41, 0x01, 0xa3, 0x80, 0x53, 0x00,
0x93, 0x83, 0x23, 0x00, 0x6f, 0xf0, 0xdf, 0xfd, 0x97, 0xf2, 0xff, 0xff,
0x93, 0x82, 0xc2, 0x0b, 0x23, 0xa0, 0x72, 0x00, 0x6f, 0xf0, 0xdf, 0xf2,
0x13, 0x03, 0x00, 0x10, 0x83, 0x82, 0x01, 0x01, 0x93, 0xf2, 0x02, 0x04,
Expand Down
2 changes: 1 addition & 1 deletion src/riscv/tuberom_riscv.s
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ Type3:
bgez t0, Type3
lb t0, R3DATA(gp)
sb t0, (t2) # store lo byte to memory
lb t1, R3DATA(gp)
lb t0, R3DATA(gp)
sb t0, 1(t2) # store hi byte to memory
addi t2, t2, 2
j Type3
Expand Down

0 comments on commit b3acee4

Please sign in to comment.