Commit Graph

474 Commits

Author SHA1 Message Date
Emmanuel Marty
fc5081fb1a
Rename confusing definitions 2020-07-14 22:36:38 +02:00
Emmanuel Marty
61698b5036
Another LZSA2 compression speedup 2020-07-14 17:01:07 +02:00
Emmanuel Marty
cf49af5cda
Faster LZSA2 compression 2020-07-14 12:36:56 +02:00
Emmanuel Marty
c39158eea8
Compress LZSA2 faster, clean code up 2020-07-13 19:34:07 +02:00
Emmanuel Marty
4864f3c184
Compress LZSA1 a little faster 2020-07-10 17:45:13 +02:00
Emmanuel Marty
8ed768aafc
Nicer and faster code 2020-07-10 08:55:45 +02:00
Emmanuel Marty
9c7495f458
Compress LZSA2 ~12% faster 2020-07-06 12:47:56 +02:00
Doug Masten
81f49fe430 Fix byte count for unlzsa2-6309.s in 6809 LZSA depackers 2020-07-03 22:17:20 -05:00
Doug Masten
eca750b485 Add enhanced Hitachi 6309 version to 6809 LZSA depackers 2020-07-03 22:09:11 -05:00
Doug Masten
ecb6bc5106 Tiny speed improvement to 6809 LZSA depackers
Same space used but improved match length code by 1 cycle for M6809. On H6309 the clock cycles are the same.
2020-07-03 01:29:02 -05:00
Doug Masten
31d5dc2419 Slight speed and space improvement to nibble processing in 6809 LZSA2 depackers 2020-06-30 14:05:59 -05:00
Doug Masten
214e03555f Slight speed improvement in 6809 LZSA depackers
Switch instruction "tfr x,u" to "leau ,x" which is 2 clock cycles faster on M6809. On H6309 both instruction have same clock cycles.
2020-06-29 00:36:49 -05:00
Emmanuel Marty
afbb1de16c
Merge pull request #48 from dougmasten/dev
More optimizations to the 6809 LZSA depackers
2020-06-28 15:46:17 +02:00
Doug Masten
078edef880 Optimize match offset code in 6809 LZSA2 depacker 2020-06-27 04:17:05 -05:00
Doug Masten
03692fca2c Update code byte counts for 6809 LZSA depackers 2020-06-27 02:02:33 -05:00
Doug Masten
39e11422ec Delay clearing high part of literals count until we really have to in 6809 LZSA1 depacker 2020-06-27 02:02:33 -05:00
Doug Masten
fde15d3fb0 Move instruction before branch to save one byte in 6809 LZSA2 depacker 2020-06-27 02:02:33 -05:00
Doug Masten
fc8120f0da Optimize handling of 9 bits offset in 6809 LZSA2 depacker 2020-06-27 02:02:33 -05:00
Doug Masten
c7b3ffc067 Delay clearing high part of literals count until we really have to in 6809 LZSA2 depacker 2020-06-27 02:02:33 -05:00
Doug Masten
137c6201be One byte saving for setting reg A to $FF in 6809 LZSA2 depacker 2020-06-27 02:02:33 -05:00
Doug Masten
e397428c1f Remove trailing whitespaces in 6809 LZSA2 depacker 2020-06-27 02:02:33 -05:00
Doug Masten
b8cfbbbc7b Optimize handling of token's Z flag bit in 6809 LZSA2 depacker 2020-06-27 02:02:33 -05:00
Doug Masten
28ca829924 delay clearing high part of literals count until we really have to in 6809 LZSA1 depacker 2020-06-27 02:02:33 -05:00
Doug Masten
27562f4761 Restructure code to eliminate one BRA instruction from loop in 6809 LZSA1 depacker 2020-06-27 02:02:33 -05:00
Doug Masten
0307d228a0
Merge pull request #3 from dougmasten/master
Merge pull request
2020-06-26 17:13:02 -05:00
Doug Masten
e8b2ebb89f
Merge pull request #2 from emmanuel-marty/master
Merge pull request
2020-06-26 17:08:44 -05:00
Doug Masten
f72133f4cf Move instruction before branch to save one byte in 6809 LZSA2 depacker 2020-06-26 16:48:58 -05:00
Doug Masten
56ba563794 One byte saving for setting reg A to $FF in 6809 LZSA2 depacker 2020-06-26 15:59:24 -05:00
Doug Masten
c0f09db364 Delay clearing high part of literals count until we really have to in 6809 LZSA2 depacker 2020-06-26 15:56:28 -05:00
Doug Masten
99db30a732 Optimize handling of 9 bits offset in 6809 LZSA2 depacker 2020-06-26 15:18:53 -05:00
Doug Masten
061ca99838 Optimize handling of token's Z flag bit in 6809 LZSA2 depacker 2020-06-26 14:52:09 -05:00
Doug Masten
7b96368469 Optimize match offset code in 6809 LZSA2 depacker 2020-06-26 14:42:36 -05:00
Doug Masten
e9540b2e3d Remove unnecessary "ADDB #$18" as register B will always have this value from 6809 LZSA2 depacker 2020-06-24 00:49:09 -05:00
Emmanuel Marty
40212975c2
Bump version 2020-06-22 10:08:40 +02:00
Emmanuel Marty
07c3969432
Compress LZSA2 raw files one byte shorter 2020-06-22 00:13:14 +02:00
Doug Masten
6a47ed7f41 Remove unnecessary "ADDB #$18" as B register will always have this value from 6809 LZSA depacker 2020-06-21 12:32:54 -05:00
Doug Masten
06d63de9d7 Rearrange "CLRA" instruction for slight speed optimization in 6809 LZSA depacker 2020-06-21 12:16:07 -05:00
Doug Masten
b5b8ca556a Rearrange match offset code to save 2 bytes in 6809 LZSA depacker 2020-06-21 01:09:15 -05:00
Emmanuel Marty
f724663ba8
Update README some more 2020-06-21 00:04:03 +02:00
Emmanuel Marty
798c07f6e0
Update README again 2020-06-20 23:59:01 +02:00
Emmanuel Marty
2f79779beb
Update README 2020-06-20 23:57:22 +02:00
Emmanuel Marty
a9b5a7511c
Merge pull request #47 from dougmasten/dom
Various optimizations to the 6809 LZSA depackers
2020-06-20 21:24:28 +02:00
Doug Masten
7f0316b81c Update code byte counts for 6809 LZSA depackers 2020-06-20 12:45:51 -05:00
Doug Masten
e8edc3242d Restructure code to eliminate one BRA instruction in unlzsa1.s 6809 LZSA depacker 2020-06-20 12:27:31 -05:00
Doug Masten
1dd65731c4 Remove unnecessary "ADDB #$12" as B register will always have this value from 6809 LZSA depackers 2020-06-20 12:27:22 -05:00
Doug Masten
f233d552ca Remove unnecessary "TSTB" instruction from 6809 LZSA depackers 2020-06-20 12:11:35 -05:00
Doug Masten
8c99570b06
Merge pull request #1 from emmanuel-marty/master
Add backward depackers for 6809
2020-06-20 12:03:30 -05:00
Emmanuel Marty
ee969968c1
Add backward depackers for 6809 2020-06-20 14:41:25 +02:00
Emmanuel Marty
f920485899
-3 bytes for 6809 LZSA2 depacker, slightly faster 2020-06-19 20:08:09 +02:00
Emmanuel Marty
2cdeda4784
-2 bytes for 6809 LZSA1 depacker, slightly faster 2020-06-19 20:07:41 +02:00