Design
struc_pr.asc
Associated article: Structured Programming
Tags: Database Design
_STRUCTURED PROGRAMMING COLUMN_
by Jeff Duntemann
[LISTING ONE]
CONST
COMPORT = 2; { 1 = COM1: 2 = COM2: }
COMBASE = $2F8;
PORTBASE = COMBASE OR (COMPORT SHL 8); { $3F8 for COM1: $2F8 for COM2: }
{ 8250 control registers, masks, etc. }
RBR = PORTBASE; { 8250 Receive Buffer Register }
THR = PORTBASE; { 8250 Transmit Holding Register }
IER = ...


