03/10/04 18:58 2SHGbd6b.net
すいません、ここに書いてあるSYSCALLを利用してもFLASHROMに
書き込めません。
教えてください。
URLリンク(mc.pp.se)
こんな感じです。
8C010000 mov.l @(8c010018),R4;r4 = write start position, in bytes from the start of the flashrom
8C010002 mov.l @(8c01001C),R5;r5 = pointer to source buffer
8C010004 mov.w @(8c010020),R6;r6 = number of bytes to write
8C010006 mov #2,R7; 8C010008 D002 ..mov.l @(8c010014),R0
8C01000A mov.l @R0,R0
8C01000C jmp @R0; goto (*syscall_flashrom);
8C01000E nop
8C010010 bra8C010010
8C010012 nop
8C010014 data.l8c0000b8
8C010018 data.l00200000;r4 = write start position, in bytes from the start of the flashrom
8C01001c data.l8c010000;r5 = pointer to source buffer
8C010020 data.l00000064;r6 = number of bytes to write