Vince Weaver
1e9f97f184
pt3: doing some testing, still looking for bugs
2019-11-20 15:18:24 -05:00
Vince Weaver
a3ed388387
pt3: update z80 checker
2019-10-16 22:07:01 -04:00
Vince Weaver
eab946a051
interlace: re-cycle count sample/ornament load
2019-09-14 23:22:05 -04:00
Vince Weaver
283279506e
pt3: create combined version for pt3_lib and pt3_player
...
keeping separate versions was a pain
2019-09-11 16:08:36 -04:00
Vince Weaver
4583337bd0
pt3_player: remove commented out GetNoteFreq() code
2019-09-11 11:10:36 -04:00
Vince Weaver
b2da3af2d8
pt3_player: update with optimized/fixed code
2019-09-11 00:32:59 -04:00
Vince Weaver
a885eeb4a0
pt3_player: fix backward SMC code flip in the v3.6 portamento code
...
this took a while to track down
2019-09-11 00:26:03 -04:00
Vince Weaver
9d6b22a0c2
pt3_player: inline GetNote() which speeds things up a bit
2019-09-10 22:29:22 -04:00
Vince Weaver
f13d6b06a3
pt3_lib: update to generate the four frequency tables on the fly
...
probably makes the executable a bit bigger but good for correctness sake
only generating the v3.4+ tables. Would be fairly easy to add the four
3.3 versions, but in practice I don't see many files of that type
2019-09-10 17:10:56 -04:00
Vince Weaver
33ff44750a
pt3: generate all tone tables
2019-09-10 12:42:51 -04:00
Vince Weaver
08ccc48686
pt3: work on generating all tone tables
2019-09-10 11:14:45 -04:00
Vince Weaver
6589803355
pt3: autogenerate tone table
2019-09-10 01:37:15 -04:00
Vince Weaver
ccf75e4be2
pt3: messing with tone table generation again
2019-09-09 17:10:18 -04:00
Vince Weaver
0e2a9ecd06
pt3_player: optimize get_note
2019-09-09 01:06:21 -04:00
Vince Weaver
b6f8eaadc6
pt3_player: update version with vibrato fix
2019-08-31 11:16:58 -04:00
Vince Weaver
5c07480333
pt3_lib: fix issue where vibrato was broken
...
backed out a qkumba optimization that in retrospect I am not sure
what it was doing but it was broken subtly in at least 2 places
could probabl be re-optimized again, especially the pt3_lib version
2019-08-31 01:34:01 -04:00
Vince Weaver
a0dc7d4150
pt3: big mess finding bug in pt3_lib
...
was playing OOTW ending wrong
was an accidentally commented out "lda #0 " blurgh
some other code cleanups while at it, mostly making it match
the pt3_player code a bit more
also stop using TEMP from interrupt as other code might use it
2019-08-21 15:07:20 -04:00
Vince Weaver
9dc0562984
ootw: ending: update Makefile to know about music file
2019-08-21 15:04:07 -04:00
Vince Weaver
30c95a5165
pt3: work on tone table
2019-06-19 17:14:36 -04:00
Vince Weaver
8aa831782c
pt3: pt3_mixer_val is copied direct to AY_regs, so make same var
2019-06-19 00:40:10 -04:00
Peter Ferrie
bc93edf06b
pt3: optimize the on/off code
2019-06-18 14:00:59 -04:00
Vince Weaver
dcdb88311a
pt3: minor whitespace changes
...
chasing some sort of weird issue where PAGE2 left set on reset
Not sure what it was
2019-06-18 13:43:33 -04:00
Peter Ferrie
60ce9565a2
pt3: save an instruction in text print
2019-06-18 13:43:13 -04:00
Peter Ferrie
40fe8cabe4
pt3: save an instruction in the player code
2019-06-18 13:17:33 -04:00
Peter Ferrie
c47f390d30
pt3: note X is already set properly, save an instruction
2019-06-18 13:11:37 -04:00
Peter Ferrie
d518a1ba26
pt3_player: some more smc code, remove a zp variable
2019-06-18 13:08:12 -04:00
Vince Weaver
d328d28ffa
pt3: move note vars to zero page
...
since we're being crazy
2019-06-09 01:18:39 -04:00
Vince Weaver
dd978592b8
pt3: completely move around zero page locations
2019-06-09 01:10:03 -04:00
Vince Weaver
468828bb90
pt3: split hardware.inc off from zp.inc
2019-06-09 01:01:28 -04:00
Vince Weaver
285c1946b5
pt3: start prepping updated zp file
2019-06-09 00:58:00 -04:00
Peter Ferrie
efc2a5a684
pt3: merge in qkumba's crazy self-modify-everything patch
...
it conflicted a bit with some of the other changes I made
also added a lot of extra init-to-zero so the validation tools
would still work
2019-06-09 00:54:38 -04:00
Vince Weaver
5961077695
pt3_lib: also use loop to zero vars
2019-06-08 01:44:04 -04:00
Vince Weaver
ae3d819970
pt3: init zeroed vars with loop
...
switching songs, sometimes they'd start wrong due to vars not
being initialized. Easier to just zero everything than try to
figure out which field we weren't getting. Also makes code smaller.
2019-06-08 01:39:50 -04:00
Vince Weaver
ea4e5f44f2
pt3: also fix pt3_lib
2019-06-08 00:51:51 -04:00
Vince Weaver
3186056500
pt3: fix bug in portamento code
...
only noticed with IR.pt3 test
something else is wrong playing that file but it passes validation now
2019-06-08 00:48:26 -04:00
Peter Ferrie
26e7d2f990
pt3_player: optimize mockingboard writes
2019-06-07 23:23:56 -04:00
Peter Ferrie
fda47eda81
pt3_player: optimize letter drawing code
2019-06-07 21:39:56 -04:00
Peter Ferrie
4fafd910be
pt3_player: fix the putsprite code
2019-06-07 21:35:50 -04:00
Peter Ferrie
1c5c19656e
pt3_player: optimize clear_screens
2019-06-07 21:31:33 -04:00
Vince Weaver
8168a2721f
pt3: make interrupt handlers consistent
2019-06-07 16:56:41 -04:00
Vince Weaver
0efd367bfa
pt3_player: add iic support
2019-06-07 16:52:31 -04:00
Vince Weaver
3bdc522ec7
pt3_test: add IIc support
...
weird interrupt handler nonsense
2019-06-07 16:05:55 -04:00
Vince Weaver
0cf9c5aaf6
pt3: some more cycle counts
2019-06-05 17:00:47 -04:00
Vince Weaver
6802663554
pt3: remove pt3_version
...
makes code slightly faster but also slightly bigger
2019-06-05 12:45:10 -04:00
Vince Weaver
f8cfa2feb1
pt3: remove two unused variables
2019-06-05 12:18:34 -04:00
Vince Weaver
f5282008ad
pt3: update optimization numbers
2019-06-05 11:44:42 -04:00
Vince Weaver
499b0ba332
pt3: remove "decode_done" variable
2019-06-05 11:40:06 -04:00
Vince Weaver
9f6e149b7c
pt3: add a few more cycle counts
2019-06-05 11:22:12 -04:00
Vince Weaver
f3fe83bfc4
pt3: combine $d0/$e0 decode
2019-06-05 11:19:09 -04:00
Vince Weaver
8691e095f4
pt3: more timing numbers
2019-06-05 00:56:52 -04:00