Skip to content

Commit 147b4f2

Browse files
Optimized banked access.
1 parent 154027b commit 147b4f2

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

examples/buffers_definition_01.bas

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
REM @english
2-
REM BUFFERS MANAGEMENT LITERAL DEFINITION
3-
REM
4-
REM This small example will show the basic syntax to define a buffer.
5-
REM A buffer is a memory area that is defined statically and used "as is".
6-
REM
7-
REM @italian
8-
REM GESTIONE DEI BUFFER DEFINIZIONE LETTERALE
9-
REM
10-
REM Questo piccolo esempio mostra la sintassi base per definire un buffer.
11-
REM Un buffer è un'area di memoria definita staticamente e usata "così com'è".
12-
REM
13-
REM @include atari,atarixl,c128,c64,coco,coco3,d32,d64,coleco,pc128op,sg1000,sc3000,to8,vic20,zx,pccga
14-
15-
CLS
16-
17-
b = #[48454c4c4f]
18-
c = #[574f524c440a]
19-
20-
PRINT "b = ";b
21-
PRINT "c = ";c
22-
PRINT (STRING)b;" ";(STRING)c
1+
REM @english
2+
REM BUFFERS MANAGEMENT LITERAL DEFINITION
3+
REM
4+
REM This small example will show the basic syntax to define a buffer.
5+
REM A buffer is a memory area that is defined statically and used "as is".
6+
REM
7+
REM @italian
8+
REM GESTIONE DEI BUFFER DEFINIZIONE LETTERALE
9+
REM
10+
REM Questo piccolo esempio mostra la sintassi base per definire un buffer.
11+
REM Un buffer è un'area di memoria definita staticamente e usata "così com'è".
12+
REM
13+
REM @include atari,atarixl,c128,c64,coco,coco3,d32,d64,coleco,pc128op,sg1000,sc3000,to8,vic20,zx,pccga
14+
15+
CLS
16+
17+
b = [48454c4c4f]
18+
c = [574f524c440a]
19+
20+
PRINT "b = ";b
21+
PRINT "c = ";c
22+
PRINT (STRING)b;" ";(STRING)c

ugbc/src/targets/mo5/bank_read.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void bank_read_semi_var( Environment * _environment, int _bank, int _address1, c
7575
default:
7676
outline1("LDU #$%4.4x", _size );
7777
outline0("JSR BANKREAD");
78-
_environment->bankAccessOptimization.read = 1;
78+
_environment->bankAccessOptimization.readn = 1;
7979
break;
8080

8181
}

0 commit comments

Comments
 (0)