improved ROM handling
This commit is contained in:
parent
66bcbd7d66
commit
45f384c870
1 changed files with 18 additions and 9 deletions
|
@ -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…
Add table
Reference in a new issue