notes.md: Add book notes for 20-Vancouver

This commit is contained in:
Val 2023-03-15 20:57:47 -05:00
parent a0d9829a4c
commit 064c5f9bc0

30
20-Vancouver/notes.md Normal file
View File

@ -0,0 +1,30 @@
`Taken verbatim from my notebook`
# Page 1
```
Vancouver ✓
Reads 0x400 B -> 2400 (payld)
payld[0] -> r11 ;
swpb r11 ; BE to LE conversion
payld[1] -> r15 ;
bis r15, r11 ;
payld[2] -> r10 ; size
cmp #2, r10 ; if size <= 2
execute debug payload
gg ez mov #ff00, r15
mov r15, sr
call #10
debug payload
[loadaddr][size][payload...]
8000 04 f40000ff
44b2 04 3f40 00ff [contents at 44b6]
```
# Editor's note:
For size's sake, the payload reuses some code to call INT after setting sr to ff00
The actual payload is "44b2043f5000ff"