Hi,
When using basic v2 on R38 ROM. I want to check what is the current cursor line number. On the C64 I can peek at $D6 and it returns the current line the cursor is on. When I try this on the X16 I get the value 8 back... no matter where the cursor is.
I've had a look at the repo and found,
x16-rom/kernal/cbm/editor.s, which appears to have, "tblx .res 1 ;$D6"
Checking to find where tblx is explained I found
kernal/open-roms/screen/e566.cursor_home.s, which appears to explain it as the cursor_home, current row.
So $00D6 should be returning what I am looking for, my question is, am I misunderstanding or have I found a bug? (I'm leaning towards not understanding)