On Tuesday, 25 November 2014 at 13:04:51 UTC, Johannes Pfau wrote:
In C people often define a macro to describe a MMIO location:
#define PORTB *((ubyte*)0x05)

FWIW, Turbo Pascal had a language feature for this:

var Screen: array[0..8000-1] of Word absolute $B800:0000;

Reply via email to