From 064c5f9bc0f84ab5e9fc80f583e7fab44aeaab8c Mon Sep 17 00:00:00 2001 From: Val Date: Wed, 15 Mar 2023 20:57:47 -0500 Subject: [PATCH] notes.md: Add book notes for 20-Vancouver --- 20-Vancouver/notes.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 20-Vancouver/notes.md diff --git a/20-Vancouver/notes.md b/20-Vancouver/notes.md new file mode 100644 index 0000000..6f1aea2 --- /dev/null +++ b/20-Vancouver/notes.md @@ -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"