Changeset 36 for trunk/page1C/silentlink.asm
- Timestamp:
- 08/13/09 22:14:33 (3 years ago)
- Files:
-
- 1 modified
-
trunk/page1C/silentlink.asm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/page1C/silentlink.asm
r35 r36 383 383 jr ReceiveOSPage 384 384 $$: call SendAcknowledge 385 ;Couldn't hurt to try to send another acknowledge, because TI Connect sucks 386 ld hl,tryAckAgainHandler 387 call APP_PUSH_ERRORH 388 call SendAcknowledge 389 call APP_POP_ERRORH 390 tryAckAgainHandler: 385 391 ;TODO: Patch the received TI-OS to not erase sector 70h (where we will be backed up) 386 ;TODO: Put the [X,T,theta,N] boot loader in page 0 392 ;TODO: Put the [X,T,theta,N] boot loader in page 0 (currently in the extra RAM pages) 387 393 ;This loader needs to read the keypad for skGraphvar, and if it's being pressed, call: 388 ; in a,(6)389 ; push af390 394 ; ld a,70h 391 395 ; out (6),a 392 ; call StartBootLoader+4000h 393 ; pop af 394 ; out (6),a 395 ; ret 396 ; jp StartBootLoader+4000h 397 ;Copy the extra RAM pages to sector 70h 398 ld a,04h 399 ld b,70h 400 ld c,4 401 $$: push af 402 push bc 403 call CopyRAMToFlashPage 404 pop bc 405 pop af 406 inc a 407 inc b 408 dec c 409 jr nz,$B 410 ld a,'D' 411 call PutC 396 412 call APP_POP_ERRORH 397 413 ;Seems like the most sensible thing to do after receiving the TI-OS is just shut off
