mirror of
https://github.com/antoinevignau/source.git
synced 2024-06-06 17:29:39 +00:00
vive les couleurs
This commit is contained in:
parent
b779f10ea5
commit
58660ed3aa
|
@ -126,7 +126,7 @@ L936A sta theFB
|
||||||
and #$ff
|
and #$ff
|
||||||
eor #-1
|
eor #-1
|
||||||
inc
|
inc
|
||||||
and #$ff
|
* and #$ff
|
||||||
sta theX
|
sta theX
|
||||||
iny
|
iny
|
||||||
lda (dpFROM),y ; Y
|
lda (dpFROM),y ; Y
|
||||||
|
@ -148,7 +148,7 @@ L939A sta theFB
|
||||||
and #$ff
|
and #$ff
|
||||||
eor #-1
|
eor #-1
|
||||||
inc
|
inc
|
||||||
and #$ff
|
* and #$ff
|
||||||
sta theY
|
sta theY
|
||||||
jsr DRAW
|
jsr DRAW
|
||||||
jmp skip2
|
jmp skip2
|
||||||
|
@ -162,14 +162,14 @@ L93CA sta theFB
|
||||||
and #$ff
|
and #$ff
|
||||||
eor #-1
|
eor #-1
|
||||||
inc
|
inc
|
||||||
and #$ff
|
* and #$ff
|
||||||
sta theX
|
sta theX
|
||||||
iny
|
iny
|
||||||
lda (dpFROM),y ; Y
|
lda (dpFROM),y ; Y
|
||||||
and #$ff
|
and #$ff
|
||||||
eor #-1
|
eor #-1
|
||||||
inc
|
inc
|
||||||
and #$ff
|
* and #$ff
|
||||||
sta theY
|
sta theY
|
||||||
jsr DRAW
|
jsr DRAW
|
||||||
jmp skip2
|
jmp skip2
|
||||||
|
@ -238,6 +238,8 @@ L9462 iny
|
||||||
iny
|
iny
|
||||||
lda (dpFROM),y ; Y
|
lda (dpFROM),y ; Y
|
||||||
and #$ff
|
and #$ff
|
||||||
|
clc
|
||||||
|
adc #8 ; QDII: Y est le bas du texte, pas le haut
|
||||||
pha
|
pha
|
||||||
_MoveTo
|
_MoveTo
|
||||||
ldy #3
|
ldy #3
|
||||||
|
@ -319,14 +321,14 @@ DRAW lda theFB
|
||||||
|
|
||||||
PushWord theX ; On trace une ligne
|
PushWord theX ; On trace une ligne
|
||||||
PushWord theY
|
PushWord theY
|
||||||
_LineTo
|
_Line
|
||||||
PushLong #curY
|
PushLong #curY
|
||||||
_GetPen
|
_GetPen
|
||||||
rts
|
rts
|
||||||
|
|
||||||
DRAW9 PushWord theX ; On dŽplace le curseur seulement
|
DRAW9 PushWord theX ; On dŽplace le curseur seulement
|
||||||
PushWord theY
|
PushWord theY
|
||||||
_MoveTo
|
_Move
|
||||||
PushLong #curY
|
PushLong #curY
|
||||||
_GetPen
|
_GetPen
|
||||||
rts
|
rts
|
||||||
|
@ -337,6 +339,17 @@ INK ldx theINK
|
||||||
lda o2gsCOLOR,x
|
lda o2gsCOLOR,x
|
||||||
and #$ff
|
and #$ff
|
||||||
sta iigsINK
|
sta iigsINK
|
||||||
|
|
||||||
|
PushWord #^blackPATTERN
|
||||||
|
asl
|
||||||
|
asl
|
||||||
|
asl
|
||||||
|
asl
|
||||||
|
asl
|
||||||
|
clc
|
||||||
|
adc #blackPATTERN
|
||||||
|
pha
|
||||||
|
_SetPenPat
|
||||||
rts
|
rts
|
||||||
|
|
||||||
*-----------------------------------
|
*-----------------------------------
|
||||||
|
|
Binary file not shown.
|
@ -197,9 +197,6 @@ SETKBD = $FE89
|
||||||
PushWord #15
|
PushWord #15
|
||||||
_SetForeColor
|
_SetForeColor
|
||||||
|
|
||||||
PushLong #curPATTERN
|
|
||||||
_GetPenPat
|
|
||||||
|
|
||||||
PushLong #whitePATTERN ; white pattern
|
PushLong #whitePATTERN ; white pattern
|
||||||
_SetPenPat
|
_SetPenPat
|
||||||
|
|
||||||
|
@ -259,7 +256,21 @@ myINDEX ds 2
|
||||||
|
|
||||||
*-----------------------------------
|
*-----------------------------------
|
||||||
|
|
||||||
curPATTERN ds 32
|
blackPATTERN ds 32,$00
|
||||||
|
ds 32,$11
|
||||||
|
ds 32,$22
|
||||||
|
ds 32,$33
|
||||||
|
ds 32,$44
|
||||||
|
ds 32,$55
|
||||||
|
ds 32,$66
|
||||||
|
ds 32,$77
|
||||||
|
ds 32,$88
|
||||||
|
ds 32,$99
|
||||||
|
ds 32,$aa
|
||||||
|
ds 32,$bb
|
||||||
|
ds 32,$cc
|
||||||
|
ds 32,$dd
|
||||||
|
ds 32,$ee
|
||||||
whitePATTERN ds 32,$ff
|
whitePATTERN ds 32,$ff
|
||||||
|
|
||||||
*----------------------------------- New Tool table
|
*----------------------------------- New Tool table
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
BIN
leretour/images/leretour6.jpg
Normal file
BIN
leretour/images/leretour6.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 158 KiB |
BIN
leretour/images/leretour7.jpg
Normal file
BIN
leretour/images/leretour7.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 181 KiB |
BIN
leretour/images/leretour8.jpg
Normal file
BIN
leretour/images/leretour8.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 177 KiB |
BIN
leretour/images/leretour9.jpg
Normal file
BIN
leretour/images/leretour9.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 165 KiB |
Binary file not shown.
Loading…
Reference in New Issue
Block a user