Commit 5b2a59fb authored by Patrice Mandin's avatar Patrice Mandin

Cleanup C2P routine

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401087
parent dcfed1dc
...@@ -38,7 +38,6 @@ static char rcsid = ...@@ -38,7 +38,6 @@ static char rcsid =
.globl _SDL_Atari_C2pConvert8 .globl _SDL_Atari_C2pConvert8
.globl _SDL_Atari_C2pConvert4 .globl _SDL_Atari_C2pConvert4
.globl _SDL_Atari_C2pConvert4_pal .globl _SDL_Atari_C2pConvert4_pal
.globl _SDL_Atari_table_c2p
/* ------------ Conversion C2P, 8 bits ------------ */ /* ------------ Conversion C2P, 8 bits ------------ */
...@@ -373,7 +372,7 @@ c2p4_bcl815: ...@@ -373,7 +372,7 @@ c2p4_bcl815:
| Double line ? | Double line ?
tstl c2p_dblligne tstl c2p_dblligne
beq c2p4_nodblligne beqs c2p4_nodblligne
movel a5,a6 | src line movel a5,a6 | src line
movel a5,a1 | dest line movel a5,a1 | dest line
...@@ -414,7 +413,7 @@ _SDL_Atari_C2pConvert4_pal: ...@@ -414,7 +413,7 @@ _SDL_Atari_C2pConvert4_pal:
c2p_pal_initbcl: c2p_pal_initbcl:
movew a0@+,d0 movew a0@+,d0
lsrw #4,d0 lsrw #4,d0
and #15,d0 andw #15,d0
moveq #3,d1 moveq #3,d1
c2p_pal_initbyte: c2p_pal_initbyte:
...@@ -434,11 +433,11 @@ c2p_pal_initbyte: ...@@ -434,11 +433,11 @@ c2p_pal_initbyte:
/* ------------ Buffers ------------ */ /* ------------ Buffers ------------ */
.data .bss
.even .even
.comm _SDL_Atari_C2pConvert,4 .comm _SDL_Atari_C2pConvert,4
.comm _SDL_Atari_table_c2p,2048 .comm _SDL_Atari_table_c2p,1024
.comm c2p_source,4 /* Source framebuffer */ .comm c2p_source,4 /* Source framebuffer */
.comm c2p_dest,4 /* Destination framebuffer */ .comm c2p_dest,4 /* Destination framebuffer */
......
...@@ -30,10 +30,6 @@ static char rcsid = ...@@ -30,10 +30,6 @@ static char rcsid =
#include "SDL_types.h" #include "SDL_types.h"
/*--- Variables ---*/
extern Uint8 SDL_Atari_table_c2p[2048]; /* Used by conversions routines */
/*--- Functions pointers ---*/ /*--- Functions pointers ---*/
/* Convert a chunky screen to bitplane screen */ /* Convert a chunky screen to bitplane screen */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment