aboutsummaryrefslogtreecommitdiff
path: root/src/ubox
diff options
context:
space:
mode:
authorPedro de Medeiros <pedro.medeiros@gmail.com>2022-05-18 23:33:20 -0300
committerPedro de Medeiros <pedro.medeiros@gmail.com>2022-05-18 23:39:30 -0300
commit9d1b4fd5192bb17d4fca1a88e66307a031d0615f (patch)
treec20c914cb9cbecb76d001e000089a16dbb287dec /src/ubox
parent506c6835bd96d11c7f2ac6411374507001c1d5c3 (diff)
downloadubox-msx-lib-9d1b4fd5192bb17d4fca1a88e66307a031d0615f.tar.gz
ubox-msx-lib-9d1b4fd5192bb17d4fca1a88e66307a031d0615f.zip
indentation: replaced spaces with tabs
Diffstat (limited to 'src/ubox')
-rw-r--r--src/ubox/ubox_isr.z804
-rw-r--r--src/ubox/ubox_read_ctl.z808
-rw-r--r--src/ubox/ubox_set_sprite_pat16_flip.z808
-rw-r--r--src/ubox/ubox_set_sprite_pat8_flip.z808
4 files changed, 14 insertions, 14 deletions
diff --git a/src/ubox/ubox_isr.z80 b/src/ubox/ubox_isr.z80
index cceb2c6..f25e35d 100644
--- a/src/ubox/ubox_isr.z80
+++ b/src/ubox/ubox_isr.z80
@@ -32,7 +32,7 @@ _ubox_init_isr::
ret
ubox_isr:
- push af
+ push af
push ix
push iy
push bc
@@ -67,7 +67,7 @@ no_user_isr:
pop bc
pop iy
pop ix
- pop af
+ pop af
ret
.area _DATA
diff --git a/src/ubox/ubox_read_ctl.z80 b/src/ubox/ubox_read_ctl.z80
index 91963c0..ae4fff9 100644
--- a/src/ubox/ubox_read_ctl.z80
+++ b/src/ubox/ubox_read_ctl.z80
@@ -35,8 +35,8 @@ call_psg:
call RDPSG
ei
cpl
- and #0x3f
- ld e, a
+ and #0x3f
+ ld e, a
; button 2 (M)
ld a, #4
@@ -46,9 +46,9 @@ call_psg:
rra
ld a, #0x20
jr nc, joy_extra_m
- xor a
+ xor a
joy_extra_m:
- or e
+ or e
ld l, a
ret
diff --git a/src/ubox/ubox_set_sprite_pat16_flip.z80 b/src/ubox/ubox_set_sprite_pat16_flip.z80
index 5631808..52f4ab7 100644
--- a/src/ubox/ubox_set_sprite_pat16_flip.z80
+++ b/src/ubox/ubox_set_sprite_pat16_flip.z80
@@ -46,10 +46,10 @@ flip0:
flip_and_copy:
ld a, (de)
ld c, a
- rlca
- rlca
- xor c
- and #0xaa
+ rlca
+ rlca
+ xor c
+ and #0xaa
xor c
ld c, a
rlca
diff --git a/src/ubox/ubox_set_sprite_pat8_flip.z80 b/src/ubox/ubox_set_sprite_pat8_flip.z80
index fdcf9ec..b453253 100644
--- a/src/ubox/ubox_set_sprite_pat8_flip.z80
+++ b/src/ubox/ubox_set_sprite_pat8_flip.z80
@@ -31,10 +31,10 @@ flip0:
flip_and_copy:
ld a, (de)
ld c, a
- rlca
- rlca
- xor c
- and #0xaa
+ rlca
+ rlca
+ xor c
+ and #0xaa
xor c
ld c, a
rlca