diff options
author | root <root@krebs> | 2011-09-01 02:18:42 +0200 |
---|---|---|
committer | root <root@krebs> | 2011-09-01 02:18:42 +0200 |
commit | 181ee880f53e1b10fce89e74ba429e23382809c1 (patch) | |
tree | 2f0f392274a6794f7962ec9dbd13e719e48ca5f7 /oncology/dpfhack_display/src/p_start_white.s | |
parent | cdbc8c537320e3e534694311516ac398ea501600 (diff) | |
parent | 5ad8c950f59472d1d0ad21c13320024889fe2e46 (diff) |
Merge branch 'master' of github.com:/krebscode/painload
Conflicts:
.gitmodules
oncology/dpfhack_display
Diffstat (limited to 'oncology/dpfhack_display/src/p_start_white.s')
-rw-r--r-- | oncology/dpfhack_display/src/p_start_white.s | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/oncology/dpfhack_display/src/p_start_white.s b/oncology/dpfhack_display/src/p_start_white.s deleted file mode 100644 index c04c7fba..00000000 --- a/oncology/dpfhack_display/src/p_start_white.s +++ /dev/null @@ -1,32 +0,0 @@ -; Patch for startup (mod37 on white) - .include 'dpf.inc' - .include 'dpf_int.inc' - .include 'hack.inc' - - .area HOME (CODE) - .area BANK0 (CODE, ABS) - - .org 0x1330 - - orl wdtcon,#0x20 - mov a,i_G_f - jbc acc.3, usbact ; If this bit is 1, USB is plugged in. - sjmp continue -usbact: - ljmp hack - - .org 0x133c -continue: - - .org 0x1426 -hack: - clr ea ; No IRQ - mov dptr, #(0x196a - 0x800) - mov a, #cloned_jumptable_offset >> 16 - movx @dptr, a - - ; Jump into usb main: - mov a,#(53 - 1) - mov dptr,#entry_addr - ljmp tramp_jmp - |