Peter Evans
50dfca476b
Add test for switch_drive
2018-02-04 11:30:38 -06:00
Peter Evans
edee060167
Add test for switch_phase function
2018-02-04 10:47:18 -06:00
Peter Evans
463a9ba268
Handle all phase cases (zero and non-zero)
2018-02-04 01:11:30 -06:00
Peter Evans
2752d82044
Add phaser test
2018-02-04 01:11:09 -06:00
Peter Evans
4777886d2d
Add missing decl for phaser
2018-02-04 00:26:01 -06:00
Peter Evans
2d13e95d7f
Add encode/decode tests, skip for save
2018-02-04 00:22:14 -06:00
Peter Evans
1245ddec55
Make encode/decode more testable with return codes
2018-02-04 00:21:39 -06:00
Peter Evans
8009a33bd4
Use int return for error code
2018-02-04 00:06:22 -06:00
Peter Evans
dd2b956b49
Add ERR_INVALID error code
2018-02-04 00:06:04 -06:00
Peter Evans
bef19539f6
Implement (most of) text_area test
2018-02-03 22:43:00 -06:00
Peter Evans
c503189b7c
Add exception for 40col
2018-02-03 22:02:25 -06:00
Peter Evans
de67d5064b
Add test for vm_screen_dirty, exception for prepare
2018-02-03 22:01:27 -06:00
Peter Evans
3329753ef7
Add test for vm_segment_fwrite
2018-02-03 22:00:04 -06:00
Peter Evans
2bdc921b76
Add missing docblocks
2018-02-03 21:56:27 -06:00
Peter Evans
67f943d891
When encoded, the track size is larger than 4k
2018-02-03 21:18:07 -06:00
Peter Evans
a970759bec
Add missing extern for the save function
2018-02-03 21:17:54 -06:00
Peter Evans
164657a915
Allow us to run unit tests from the root dir
2018-02-03 20:50:45 -06:00
Peter Evans
3a1784a5a7
Add image, stream to eject test
2018-02-03 20:50:30 -06:00
Peter Evans
a6c1564747
Add fwrite function, support for streams and types
2018-02-03 20:50:08 -06:00
Peter Evans
2dd21f1487
Add image type, image segment
2018-02-03 18:10:29 -06:00
Peter Evans
c010c10ce2
Add missing docblocks
2018-02-03 17:46:56 -06:00
Peter Evans
10d13f755c
Document the pseudo-instruction "bad"
2018-02-03 17:44:41 -06:00
Peter Evans
f45a64dfe4
Add missing tests file
2018-02-03 17:43:04 -06:00
Peter Evans
5fc0206ff6
Add defines for track/sector sizes
2018-02-03 00:24:22 -06:00
Peter Evans
5ac2fbdbee
Add new decode functions, flesh out sector code
2018-02-03 00:23:57 -06:00
Peter Evans
a340c963a0
Add proper test for sector decode
2018-02-02 17:20:17 -06:00
Peter Evans
d2e21b55c4
Implement the sector decode function
...
This was a bear to do, and the product being committed is probably my
third (or fourth?) try.
2018-02-02 17:19:38 -06:00
Peter Evans
55c85b0ec6
Encoded code needed to change
2018-02-01 18:41:34 -06:00
Peter Evans
fadf5a9782
Add decode...code
2018-02-01 18:41:01 -06:00
Peter Evans
f4cdff0bfb
Add sector encoding test
2018-01-31 16:52:58 -06:00
Peter Evans
b202e70b9b
Add test suite for enc.c
2018-01-31 16:03:03 -06:00
Peter Evans
f87f77b806
Add ENC_VOLUME definition
2018-01-31 15:58:57 -06:00
Peter Evans
323803866a
Include better documentation of otherwise grumpy functions
2018-01-31 15:58:32 -06:00
Peter Evans
98c2ef16cc
Add encode function for nib
2018-01-31 15:40:39 -06:00
Peter Evans
4943d66e8c
Correct typo so it's clear this is a get OOB
2018-01-31 15:40:06 -06:00
Peter Evans
c031822063
Use nibbilized size for dest; allow offset to overflow
2018-01-31 14:28:29 -06:00
Peter Evans
7ffe2cb527
Add _140K_NIB_ define
2018-01-31 14:28:00 -06:00
Peter Evans
ce405531b8
We switched the logic for C015
2018-01-31 00:20:37 -06:00
Peter Evans
a53ee9698b
Compile the new enc.c file
2018-01-31 00:10:41 -06:00
Peter Evans
8a53e02f00
Rename to enc.c, add header file
2018-01-31 00:09:07 -06:00
Peter Evans
b09ca2dae5
Reword comment
2018-01-30 18:55:23 -06:00
Peter Evans
5c7dbb4cfe
My first crack at some code for nibblization
2018-01-30 16:30:23 -06:00
Peter Evans
e2e5f20e24
First version of transcribed disk II controller ROM
2018-01-29 01:24:40 -06:00
Peter Evans
5812fb8672
Compile with debugging symbols for now
2018-01-29 00:30:49 -06:00
Peter Evans
b2bfee7f96
The SLOTCXROM switch seems to work opposite
...
Which seems weird, but I've verified this in some other places.
2018-01-29 00:30:12 -06:00
Peter Evans
58e2373a4d
Add locked field to apple2dd struct
2018-01-28 18:06:41 -06:00
Peter Evans
418688cd15
Lock disk drives during disassembly
2018-01-28 18:06:14 -06:00
Peter Evans
33b44d1a70
selected_drive will now have a default value (of drive1)
2018-01-27 21:53:12 -06:00
Peter Evans
2c3d6a4dfa
Reimplement idx and idy to use 16-bit addresses
...
While I have found some conflicting details on how this should be done,
it seems pretty clear to me that IDX and IDY work with 16-bit addresses,
not 8-bit. The inability to do so was preventing us from probing
peripheral ROM (e.g. at $C705, for the disk controller).
2018-01-27 19:54:55 -06:00
Peter Evans
9402eccc04
Add, and use, Apple //e enhanced rom
2018-01-27 19:54:19 -06:00