Email or username:

Password:

Forgot your password?
Top-level
Ben Cox

@b0rk Old Skool: shift = "subtract 32" / ctrl = "subtract 64" / alt = "subtract (or add!) 128"

1 comment
pelavarre

@ben

Ctrl has an Else on it

Ctrl = subtract 64 if less than or equal to 64, else add 64

that’s how we so often come out with ^@ for 0x00 NUL from ord(“@“) = 64 but also ^? for 0x7F DEL from ord(“?”) = 63, distinct from ^H for 0x08 BS from ord(“H”) = 72

Ctrl = xor 0x40

Go Up