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
Peter Evans
4165c1cefc
Make idx, idy clearer
...
I'm still not confident this is how it _should_ work, but I have found
conflicting accounts online for the behavior of these two modes. The
current code is what allows the Apple II to bootstrap as it should.
2018-01-27 13:04:19 -06:00
Peter Evans
38d80078d9
Remove obsoleted test functions
2018-01-27 00:16:39 -06:00
Peter Evans
dde7312864
No need to deal with carry here
2018-01-27 00:15:06 -06:00
Peter Evans
9bbfb95b02
Carry is no longer factored
2018-01-26 22:04:47 -06:00
Peter Evans
d29dfd442a
Account for SLOTCXROM being on by default
2018-01-26 22:03:57 -06:00
Peter Evans
76e4d3797f
By default SLOTCXROM should be high
2018-01-26 22:01:46 -06:00
Peter Evans
ca5276cb6b
It turns out we don't use carry for addr modes.
...
This fix actually corrects a rather irritating bug where the Apple ][
logo was displaying one-off--e.g., as "pple ][D".
2018-01-26 21:18:42 -06:00
Peter Evans
4509f61be6
dd_write no longer accepts the byte it will wryte
2018-01-26 20:00:10 -06:00
Peter Evans
9c0e01ecd2
Add drive phases, switches for control and i/o
2018-01-26 19:49:19 -06:00
Peter Evans
e901bcf54d
Add docblock comments
2018-01-25 14:12:49 -06:00
Peter Evans
217b27b040
Handle inversed text
2018-01-24 20:05:47 -06:00
Peter Evans
f36bba2e83
Add extern for the prepare function
2018-01-24 20:05:19 -06:00
Peter Evans
2ae272af3a
Stop flickering issue by clearing before drawing
2018-01-24 20:04:53 -06:00
Peter Evans
d581194bbc
Add apple text functions and refactor draw logic for text
2018-01-24 16:11:08 -06:00
Peter Evans
8bbe337643
Move open apple to index 0
2018-01-24 15:05:29 -06:00
Peter Evans
6069ab4d1b
Add inverse font
2018-01-24 14:26:28 -06:00
Peter Evans
4a4fd93d9d
Inverse for last two glyphs; add inverse bitmap
2018-01-24 14:14:49 -06:00
Peter Evans
375b5a173f
Add inverse font glyphs
2018-01-24 13:56:48 -06:00
Peter Evans
f073c0d007
Add new glyph grid files and rebuild bitmap
2018-01-24 13:05:35 -06:00