improved ROM handling
This commit is contained in:
parent
63aa473f66
commit
5351b53277
@ -259,6 +259,7 @@ dopseudo() {
|
|||||||
nromwords=0;
|
nromwords=0;
|
||||||
rommask=0;
|
rommask=0;
|
||||||
rombit=1;
|
rombit=1;
|
||||||
|
for (;;) {
|
||||||
t=getarg(val_ptyp);
|
t=getarg(val_ptyp);
|
||||||
while (t!=sp_cend) {
|
while (t!=sp_cend) {
|
||||||
if (t==sp_cstx && nromwords<MAXROM) {
|
if (t==sp_cstx && nromwords<MAXROM) {
|
||||||
@ -270,6 +271,14 @@ dopseudo() {
|
|||||||
con(t);
|
con(t);
|
||||||
t=getarg(any_ptyp);
|
t=getarg(any_ptyp);
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
int c = get8();
|
||||||
|
|
||||||
|
if (c == ps_rom) continue;
|
||||||
|
if (c != EOF) ungetc(c, emfile);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
if (rommask != 0) {
|
if (rommask != 0) {
|
||||||
romcont[MAXROM]=rommask;
|
romcont[MAXROM]=rommask;
|
||||||
enterglo(labstr,romcont);
|
enterglo(labstr,romcont);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user