Character maps.

This commit is contained in:
stag019
2013-12-22 20:55:14 -05:00
parent fd4b5c8925
commit 1218da79a9
8 changed files with 252 additions and 2 deletions

View File

@@ -11,6 +11,7 @@
#include <string.h>
#include "asm/asm.h"
#include "asm/charmap.h"
#include "asm/output.h"
#include "asm/symbol.h"
#include "asm/mylink.h"
@@ -643,6 +644,7 @@ out_FindSection(char *pzName, ULONG secttype, SLONG org,
pSect->nBank = bank;
pSect->pNext = NULL;
pSect->pPatches = NULL;
pSect->charmap = NULL;
pPatchSymbols = NULL;
if ((pSect->tData =
@@ -716,6 +718,14 @@ out_AbsByte(int b)
nPC += 1;
pPCSymbol->nValue += 1;
}
void
out_AbsByteGroup(char *s, int length)
{
checkcodesection(length);
while (length--)
out_AbsByte(*s++);
}
/*
* RGBAsm - OUTPUT.C - Outputs an objectfile
*