cba54b205b
- refactor code for transfer buffer reads/writes, real mode int 0x21 calls, and assembler segment declarations - define transfer buffer size in one place - beef up error checking for transfer buffer operations (prevent buffer overflows) - also optimize such operations to transfer dword by dword where feasible
24 lines
400 B
ArmAsm
24 lines
400 B
ArmAsm
#
|
|
! $Source$
|
|
! $State$
|
|
! $Revision$
|
|
|
|
#include "libsysasm.h"
|
|
|
|
#define D(e) .define e; e
|
|
|
|
.sect .data
|
|
|
|
! Define various ACK error numbers. Note that these are *not* ANSI C
|
|
! errnos, and are used for different purposes.
|
|
|
|
D(ERANGE) = 1
|
|
D(ESET) = 2
|
|
D(EIDIVZ) = 6
|
|
D(EHEAP) = 17
|
|
D(EILLINS) = 18
|
|
D(EODDZ) = 19
|
|
D(ECASE) = 20
|
|
D(EBADMON) = 25
|
|
|