mirror of
https://github.com/lampmerchant/tashtwenty.git
synced 2025-01-04 10:30:44 +00:00
Merge branch 'lampmerchant:main' into main
This commit is contained in:
commit
19b6dc109f
74
README.md
74
README.md
@ -2,12 +2,9 @@
|
||||
|
||||
## Elevator Pitch
|
||||
|
||||
It's a DCD (the interface used by the Hard Disk 20 to plug in through the disk port) interface, contained entirely within a PIC16F1825
|
||||
(14 pins, ~$1.70) microcontroller. It bit-bangs the low-level IWM protocol using the read/write and phase lines on the "DB"-19 disk
|
||||
port, no programmable logic devices of any kind required.
|
||||
It's a DCD (the interface used by the Hard Disk 20 to plug in through the disk port) interface, contained entirely within a PIC16F1825 (14 pins, ~$1.84) or PIC16F1704 (14 pins, ~$1.39) microcontroller. It bit-bangs the low-level IWM protocol using the read/write and phase lines on the "DB"-19 disk port, no programmable logic devices of any kind required.
|
||||
|
||||
It interfaces to an MMC card and can emulate up to four DCD devices. It also has an enable output which can be used to
|
||||
chain more DCD devices (though Mac OS only supports a total of four) and a floppy disk drive.
|
||||
It interfaces to an MMC or compatible card and can emulate up to four DCD devices. It also has an enable output which can be used to chain more DCD devices (though ROMs only support a maximum of four) and a floppy disk drive.
|
||||
|
||||
(Despite the name, there is nothing limiting it to 20 megabytes.)
|
||||
|
||||
@ -19,25 +16,70 @@ Functional, though not rigorously tested.
|
||||
|
||||
## Caveats
|
||||
|
||||
Due to the dearth of documentation on the DCD protocol (see below), the protocol only implements the commands whose formats are known,
|
||||
namely read, write, and device identification. Responses to other commands are faked. Fortunately, this seems to be enough for the
|
||||
device to function properly, including formatting.
|
||||
Due to the dearth of documentation on the DCD protocol (see below), the protocol only implements the commands whose formats are known, namely read, write, and device identification. Responses to other commands are faked. Fortunately, this seems to be enough for the device to function properly, including formatting.
|
||||
|
||||
The disk drive interface relies on use of the phase lines to read and write one-bit registers. Because the microcontroller mimics the register set in code instead of programmable logic, it has a response time that is, in the worst case, approximately one microsecond. This is not fast enough for Macs with faster processors to reliably detect that the device is present. As such, it can only be used on Macintosh computers with 8 MHz 68000 processors.
|
||||
The disk drive interface relies on use of the phase lines to read and write one-bit registers. Because the PIC16F1825 firmware mimics the register set in code instead of programmable logic, it has a response time that is, in the worst case, approximately one microsecond. This may interfere with the ability of faster Macs to detect it, though it is not known to do so at this point. The PIC16F1704 firmware mimics the register set in logic and responds in effect instantly.
|
||||
|
||||
Compatible Macs:
|
||||
* 512k (with Hard Disk 20 INIT)
|
||||
* 512ke
|
||||
* Plus
|
||||
* SE
|
||||
* Classic
|
||||
Certain Macs may have a limitation imposed by their ROM on the number of DCDs they support.
|
||||
|
||||
|
||||
### Compatibility
|
||||
|
||||
#### Hardware
|
||||
|
||||
| Macintosh | PIC16F1825 | PIC16F1704 |
|
||||
| ---------- | ---------- | ---------- |
|
||||
| 512k¶ | 4? | 4? |
|
||||
| 512ke | 4 | 4 |
|
||||
| Plus | 4 | 4? |
|
||||
| SE | 2? | 2? |
|
||||
| Classic | 2? | 2? |
|
||||
| Portable | 2? | 2? |
|
||||
| IIci | 2? | 2? |
|
||||
| IIsi | 2? | 2? |
|
||||
| LC† | 2? | 2? |
|
||||
| LC II§ | 2? | 2? |
|
||||
| IIx†‡ | 2? | 2? |
|
||||
| IIcx‡ | 2 | 2? |
|
||||
| SE/30‡ | 2? | 2? |
|
||||
| Classic II | 2 | 2 |
|
||||
|
||||
? Suspected, but not known to have been tested
|
||||
|
||||
¶ Requires Hard Disk 20 patch file (often erroneously called the Hard Disk 20 INIT)
|
||||
|
||||
§ Requires clipping onto the !ENBL2 pin of the SWIM IC
|
||||
|
||||
† Requires use of the secondary internal floppy drive header
|
||||
|
||||
‡ Requires use of a nonstandard ROM
|
||||
|
||||
|
||||
#### System Software
|
||||
|
||||
| Version | Compatible? |
|
||||
| ------- | ----------- |
|
||||
| 6.0.8 | Yes |
|
||||
| 7.1 | Yes |
|
||||
| 7.5 | No |
|
||||
|
||||
|
||||
## Technical Details
|
||||
|
||||
### MMC Card Format
|
||||
|
||||
The MMC card must have an MBR (Master Boot Record) aka DOS-type partition table with up to four primary partitions of type 0xAF (HFS). Partitions of other types will be ignored. Extended partitions are not supported.
|
||||
The MMC card must have an MBR (Master Boot Record) aka DOS-type partition table with up to four primary partitions of type 0xAF (HFS). Extended partitions are not supported.
|
||||
|
||||
|
||||
#### Custom Icons
|
||||
|
||||
In the PIC16F1704 firmware, custom icons are supported using other values besides 0xAF for the partition type byte. Other partition types besides 0xAF must be the number of a sector (for example, a partition of type 0x01 would point to the second sector) on the card formatted as follows:
|
||||
|
||||
* Bytes 0-255 must be the word "ICON" repeated 64 times.
|
||||
* Bytes 256-383 must be a 32x32 icon, one bit per pixel, with '1' bits denoting black and '0' bits denoting white.
|
||||
* Bytes 384-511 must be a 32x32 icon mask, one bit per pixel, with '1' bits denoting opaque and '0' bits denoting transparent.
|
||||
|
||||
If the sector is not in this format, the partition will be ignored, in order to safely support cards with non-HFS partitions. Partitions of type 0xAF will always use the built-in icon and the hundred-seventy-sixth sector will not be checked for the format described above.
|
||||
|
||||
|
||||
### DCD (Directly Connected Disks) Protocol
|
||||
|
257
firmware1704/crc16hi.inc
Normal file
257
firmware1704/crc16hi.inc
Normal file
@ -0,0 +1,257 @@
|
||||
;LUT for high byte of CCITT CRC16
|
||||
retlw 0x00
|
||||
retlw 0x10
|
||||
retlw 0x20
|
||||
retlw 0x30
|
||||
retlw 0x40
|
||||
retlw 0x50
|
||||
retlw 0x60
|
||||
retlw 0x70
|
||||
retlw 0x81
|
||||
retlw 0x91
|
||||
retlw 0xA1
|
||||
retlw 0xB1
|
||||
retlw 0xC1
|
||||
retlw 0xD1
|
||||
retlw 0xE1
|
||||
retlw 0xF1
|
||||
retlw 0x12
|
||||
retlw 0x02
|
||||
retlw 0x32
|
||||
retlw 0x22
|
||||
retlw 0x52
|
||||
retlw 0x42
|
||||
retlw 0x72
|
||||
retlw 0x62
|
||||
retlw 0x93
|
||||
retlw 0x83
|
||||
retlw 0xB3
|
||||
retlw 0xA3
|
||||
retlw 0xD3
|
||||
retlw 0xC3
|
||||
retlw 0xF3
|
||||
retlw 0xE3
|
||||
retlw 0x24
|
||||
retlw 0x34
|
||||
retlw 0x04
|
||||
retlw 0x14
|
||||
retlw 0x64
|
||||
retlw 0x74
|
||||
retlw 0x44
|
||||
retlw 0x54
|
||||
retlw 0xA5
|
||||
retlw 0xB5
|
||||
retlw 0x85
|
||||
retlw 0x95
|
||||
retlw 0xE5
|
||||
retlw 0xF5
|
||||
retlw 0xC5
|
||||
retlw 0xD5
|
||||
retlw 0x36
|
||||
retlw 0x26
|
||||
retlw 0x16
|
||||
retlw 0x06
|
||||
retlw 0x76
|
||||
retlw 0x66
|
||||
retlw 0x56
|
||||
retlw 0x46
|
||||
retlw 0xB7
|
||||
retlw 0xA7
|
||||
retlw 0x97
|
||||
retlw 0x87
|
||||
retlw 0xF7
|
||||
retlw 0xE7
|
||||
retlw 0xD7
|
||||
retlw 0xC7
|
||||
retlw 0x48
|
||||
retlw 0x58
|
||||
retlw 0x68
|
||||
retlw 0x78
|
||||
retlw 0x08
|
||||
retlw 0x18
|
||||
retlw 0x28
|
||||
retlw 0x38
|
||||
retlw 0xC9
|
||||
retlw 0xD9
|
||||
retlw 0xE9
|
||||
retlw 0xF9
|
||||
retlw 0x89
|
||||
retlw 0x99
|
||||
retlw 0xA9
|
||||
retlw 0xB9
|
||||
retlw 0x5A
|
||||
retlw 0x4A
|
||||
retlw 0x7A
|
||||
retlw 0x6A
|
||||
retlw 0x1A
|
||||
retlw 0x0A
|
||||
retlw 0x3A
|
||||
retlw 0x2A
|
||||
retlw 0xDB
|
||||
retlw 0xCB
|
||||
retlw 0xFB
|
||||
retlw 0xEB
|
||||
retlw 0x9B
|
||||
retlw 0x8B
|
||||
retlw 0xBB
|
||||
retlw 0xAB
|
||||
retlw 0x6C
|
||||
retlw 0x7C
|
||||
retlw 0x4C
|
||||
retlw 0x5C
|
||||
retlw 0x2C
|
||||
retlw 0x3C
|
||||
retlw 0x0C
|
||||
retlw 0x1C
|
||||
retlw 0xED
|
||||
retlw 0xFD
|
||||
retlw 0xCD
|
||||
retlw 0xDD
|
||||
retlw 0xAD
|
||||
retlw 0xBD
|
||||
retlw 0x8D
|
||||
retlw 0x9D
|
||||
retlw 0x7E
|
||||
retlw 0x6E
|
||||
retlw 0x5E
|
||||
retlw 0x4E
|
||||
retlw 0x3E
|
||||
retlw 0x2E
|
||||
retlw 0x1E
|
||||
retlw 0x0E
|
||||
retlw 0xFF
|
||||
retlw 0xEF
|
||||
retlw 0xDF
|
||||
retlw 0xCF
|
||||
retlw 0xBF
|
||||
retlw 0xAF
|
||||
retlw 0x9F
|
||||
retlw 0x8F
|
||||
retlw 0x91
|
||||
retlw 0x81
|
||||
retlw 0xB1
|
||||
retlw 0xA1
|
||||
retlw 0xD1
|
||||
retlw 0xC1
|
||||
retlw 0xF1
|
||||
retlw 0xE1
|
||||
retlw 0x10
|
||||
retlw 0x00
|
||||
retlw 0x30
|
||||
retlw 0x20
|
||||
retlw 0x50
|
||||
retlw 0x40
|
||||
retlw 0x70
|
||||
retlw 0x60
|
||||
retlw 0x83
|
||||
retlw 0x93
|
||||
retlw 0xA3
|
||||
retlw 0xB3
|
||||
retlw 0xC3
|
||||
retlw 0xD3
|
||||
retlw 0xE3
|
||||
retlw 0xF3
|
||||
retlw 0x02
|
||||
retlw 0x12
|
||||
retlw 0x22
|
||||
retlw 0x32
|
||||
retlw 0x42
|
||||
retlw 0x52
|
||||
retlw 0x62
|
||||
retlw 0x72
|
||||
retlw 0xB5
|
||||
retlw 0xA5
|
||||
retlw 0x95
|
||||
retlw 0x85
|
||||
retlw 0xF5
|
||||
retlw 0xE5
|
||||
retlw 0xD5
|
||||
retlw 0xC5
|
||||
retlw 0x34
|
||||
retlw 0x24
|
||||
retlw 0x14
|
||||
retlw 0x04
|
||||
retlw 0x74
|
||||
retlw 0x64
|
||||
retlw 0x54
|
||||
retlw 0x44
|
||||
retlw 0xA7
|
||||
retlw 0xB7
|
||||
retlw 0x87
|
||||
retlw 0x97
|
||||
retlw 0xE7
|
||||
retlw 0xF7
|
||||
retlw 0xC7
|
||||
retlw 0xD7
|
||||
retlw 0x26
|
||||
retlw 0x36
|
||||
retlw 0x06
|
||||
retlw 0x16
|
||||
retlw 0x66
|
||||
retlw 0x76
|
||||
retlw 0x46
|
||||
retlw 0x56
|
||||
retlw 0xD9
|
||||
retlw 0xC9
|
||||
retlw 0xF9
|
||||
retlw 0xE9
|
||||
retlw 0x99
|
||||
retlw 0x89
|
||||
retlw 0xB9
|
||||
retlw 0xA9
|
||||
retlw 0x58
|
||||
retlw 0x48
|
||||
retlw 0x78
|
||||
retlw 0x68
|
||||
retlw 0x18
|
||||
retlw 0x08
|
||||
retlw 0x38
|
||||
retlw 0x28
|
||||
retlw 0xCB
|
||||
retlw 0xDB
|
||||
retlw 0xEB
|
||||
retlw 0xFB
|
||||
retlw 0x8B
|
||||
retlw 0x9B
|
||||
retlw 0xAB
|
||||
retlw 0xBB
|
||||
retlw 0x4A
|
||||
retlw 0x5A
|
||||
retlw 0x6A
|
||||
retlw 0x7A
|
||||
retlw 0x0A
|
||||
retlw 0x1A
|
||||
retlw 0x2A
|
||||
retlw 0x3A
|
||||
retlw 0xFD
|
||||
retlw 0xED
|
||||
retlw 0xDD
|
||||
retlw 0xCD
|
||||
retlw 0xBD
|
||||
retlw 0xAD
|
||||
retlw 0x9D
|
||||
retlw 0x8D
|
||||
retlw 0x7C
|
||||
retlw 0x6C
|
||||
retlw 0x5C
|
||||
retlw 0x4C
|
||||
retlw 0x3C
|
||||
retlw 0x2C
|
||||
retlw 0x1C
|
||||
retlw 0x0C
|
||||
retlw 0xEF
|
||||
retlw 0xFF
|
||||
retlw 0xCF
|
||||
retlw 0xDF
|
||||
retlw 0xAF
|
||||
retlw 0xBF
|
||||
retlw 0x8F
|
||||
retlw 0x9F
|
||||
retlw 0x6E
|
||||
retlw 0x7E
|
||||
retlw 0x4E
|
||||
retlw 0x5E
|
||||
retlw 0x2E
|
||||
retlw 0x3E
|
||||
retlw 0x0E
|
||||
retlw 0x1E
|
257
firmware1704/crc16lo.inc
Normal file
257
firmware1704/crc16lo.inc
Normal file
@ -0,0 +1,257 @@
|
||||
;LUT for low byte of CCITT CRC16
|
||||
retlw 0x00
|
||||
retlw 0x21
|
||||
retlw 0x42
|
||||
retlw 0x63
|
||||
retlw 0x84
|
||||
retlw 0xA5
|
||||
retlw 0xC6
|
||||
retlw 0xE7
|
||||
retlw 0x08
|
||||
retlw 0x29
|
||||
retlw 0x4A
|
||||
retlw 0x6B
|
||||
retlw 0x8C
|
||||
retlw 0xAD
|
||||
retlw 0xCE
|
||||
retlw 0xEF
|
||||
retlw 0x31
|
||||
retlw 0x10
|
||||
retlw 0x73
|
||||
retlw 0x52
|
||||
retlw 0xB5
|
||||
retlw 0x94
|
||||
retlw 0xF7
|
||||
retlw 0xD6
|
||||
retlw 0x39
|
||||
retlw 0x18
|
||||
retlw 0x7B
|
||||
retlw 0x5A
|
||||
retlw 0xBD
|
||||
retlw 0x9C
|
||||
retlw 0xFF
|
||||
retlw 0xDE
|
||||
retlw 0x62
|
||||
retlw 0x43
|
||||
retlw 0x20
|
||||
retlw 0x01
|
||||
retlw 0xE6
|
||||
retlw 0xC7
|
||||
retlw 0xA4
|
||||
retlw 0x85
|
||||
retlw 0x6A
|
||||
retlw 0x4B
|
||||
retlw 0x28
|
||||
retlw 0x09
|
||||
retlw 0xEE
|
||||
retlw 0xCF
|
||||
retlw 0xAC
|
||||
retlw 0x8D
|
||||
retlw 0x53
|
||||
retlw 0x72
|
||||
retlw 0x11
|
||||
retlw 0x30
|
||||
retlw 0xD7
|
||||
retlw 0xF6
|
||||
retlw 0x95
|
||||
retlw 0xB4
|
||||
retlw 0x5B
|
||||
retlw 0x7A
|
||||
retlw 0x19
|
||||
retlw 0x38
|
||||
retlw 0xDF
|
||||
retlw 0xFE
|
||||
retlw 0x9D
|
||||
retlw 0xBC
|
||||
retlw 0xC4
|
||||
retlw 0xE5
|
||||
retlw 0x86
|
||||
retlw 0xA7
|
||||
retlw 0x40
|
||||
retlw 0x61
|
||||
retlw 0x02
|
||||
retlw 0x23
|
||||
retlw 0xCC
|
||||
retlw 0xED
|
||||
retlw 0x8E
|
||||
retlw 0xAF
|
||||
retlw 0x48
|
||||
retlw 0x69
|
||||
retlw 0x0A
|
||||
retlw 0x2B
|
||||
retlw 0xF5
|
||||
retlw 0xD4
|
||||
retlw 0xB7
|
||||
retlw 0x96
|
||||
retlw 0x71
|
||||
retlw 0x50
|
||||
retlw 0x33
|
||||
retlw 0x12
|
||||
retlw 0xFD
|
||||
retlw 0xDC
|
||||
retlw 0xBF
|
||||
retlw 0x9E
|
||||
retlw 0x79
|
||||
retlw 0x58
|
||||
retlw 0x3B
|
||||
retlw 0x1A
|
||||
retlw 0xA6
|
||||
retlw 0x87
|
||||
retlw 0xE4
|
||||
retlw 0xC5
|
||||
retlw 0x22
|
||||
retlw 0x03
|
||||
retlw 0x60
|
||||
retlw 0x41
|
||||
retlw 0xAE
|
||||
retlw 0x8F
|
||||
retlw 0xEC
|
||||
retlw 0xCD
|
||||
retlw 0x2A
|
||||
retlw 0x0B
|
||||
retlw 0x68
|
||||
retlw 0x49
|
||||
retlw 0x97
|
||||
retlw 0xB6
|
||||
retlw 0xD5
|
||||
retlw 0xF4
|
||||
retlw 0x13
|
||||
retlw 0x32
|
||||
retlw 0x51
|
||||
retlw 0x70
|
||||
retlw 0x9F
|
||||
retlw 0xBE
|
||||
retlw 0xDD
|
||||
retlw 0xFC
|
||||
retlw 0x1B
|
||||
retlw 0x3A
|
||||
retlw 0x59
|
||||
retlw 0x78
|
||||
retlw 0x88
|
||||
retlw 0xA9
|
||||
retlw 0xCA
|
||||
retlw 0xEB
|
||||
retlw 0x0C
|
||||
retlw 0x2D
|
||||
retlw 0x4E
|
||||
retlw 0x6F
|
||||
retlw 0x80
|
||||
retlw 0xA1
|
||||
retlw 0xC2
|
||||
retlw 0xE3
|
||||
retlw 0x04
|
||||
retlw 0x25
|
||||
retlw 0x46
|
||||
retlw 0x67
|
||||
retlw 0xB9
|
||||
retlw 0x98
|
||||
retlw 0xFB
|
||||
retlw 0xDA
|
||||
retlw 0x3D
|
||||
retlw 0x1C
|
||||
retlw 0x7F
|
||||
retlw 0x5E
|
||||
retlw 0xB1
|
||||
retlw 0x90
|
||||
retlw 0xF3
|
||||
retlw 0xD2
|
||||
retlw 0x35
|
||||
retlw 0x14
|
||||
retlw 0x77
|
||||
retlw 0x56
|
||||
retlw 0xEA
|
||||
retlw 0xCB
|
||||
retlw 0xA8
|
||||
retlw 0x89
|
||||
retlw 0x6E
|
||||
retlw 0x4F
|
||||
retlw 0x2C
|
||||
retlw 0x0D
|
||||
retlw 0xE2
|
||||
retlw 0xC3
|
||||
retlw 0xA0
|
||||
retlw 0x81
|
||||
retlw 0x66
|
||||
retlw 0x47
|
||||
retlw 0x24
|
||||
retlw 0x05
|
||||
retlw 0xDB
|
||||
retlw 0xFA
|
||||
retlw 0x99
|
||||
retlw 0xB8
|
||||
retlw 0x5F
|
||||
retlw 0x7E
|
||||
retlw 0x1D
|
||||
retlw 0x3C
|
||||
retlw 0xD3
|
||||
retlw 0xF2
|
||||
retlw 0x91
|
||||
retlw 0xB0
|
||||
retlw 0x57
|
||||
retlw 0x76
|
||||
retlw 0x15
|
||||
retlw 0x34
|
||||
retlw 0x4C
|
||||
retlw 0x6D
|
||||
retlw 0x0E
|
||||
retlw 0x2F
|
||||
retlw 0xC8
|
||||
retlw 0xE9
|
||||
retlw 0x8A
|
||||
retlw 0xAB
|
||||
retlw 0x44
|
||||
retlw 0x65
|
||||
retlw 0x06
|
||||
retlw 0x27
|
||||
retlw 0xC0
|
||||
retlw 0xE1
|
||||
retlw 0x82
|
||||
retlw 0xA3
|
||||
retlw 0x7D
|
||||
retlw 0x5C
|
||||
retlw 0x3F
|
||||
retlw 0x1E
|
||||
retlw 0xF9
|
||||
retlw 0xD8
|
||||
retlw 0xBB
|
||||
retlw 0x9A
|
||||
retlw 0x75
|
||||
retlw 0x54
|
||||
retlw 0x37
|
||||
retlw 0x16
|
||||
retlw 0xF1
|
||||
retlw 0xD0
|
||||
retlw 0xB3
|
||||
retlw 0x92
|
||||
retlw 0x2E
|
||||
retlw 0x0F
|
||||
retlw 0x6C
|
||||
retlw 0x4D
|
||||
retlw 0xAA
|
||||
retlw 0x8B
|
||||
retlw 0xE8
|
||||
retlw 0xC9
|
||||
retlw 0x26
|
||||
retlw 0x07
|
||||
retlw 0x64
|
||||
retlw 0x45
|
||||
retlw 0xA2
|
||||
retlw 0x83
|
||||
retlw 0xE0
|
||||
retlw 0xC1
|
||||
retlw 0x1F
|
||||
retlw 0x3E
|
||||
retlw 0x5D
|
||||
retlw 0x7C
|
||||
retlw 0x9B
|
||||
retlw 0xBA
|
||||
retlw 0xD9
|
||||
retlw 0xF8
|
||||
retlw 0x17
|
||||
retlw 0x36
|
||||
retlw 0x55
|
||||
retlw 0x74
|
||||
retlw 0x93
|
||||
retlw 0xB2
|
||||
retlw 0xD1
|
||||
retlw 0xF0
|
257
firmware1704/crc7.inc
Normal file
257
firmware1704/crc7.inc
Normal file
@ -0,0 +1,257 @@
|
||||
;LUT for CRC7 for card commands
|
||||
retlw 0x00
|
||||
retlw 0x12
|
||||
retlw 0x24
|
||||
retlw 0x36
|
||||
retlw 0x48
|
||||
retlw 0x5A
|
||||
retlw 0x6C
|
||||
retlw 0x7E
|
||||
retlw 0x90
|
||||
retlw 0x82
|
||||
retlw 0xB4
|
||||
retlw 0xA6
|
||||
retlw 0xD8
|
||||
retlw 0xCA
|
||||
retlw 0xFC
|
||||
retlw 0xEE
|
||||
retlw 0x32
|
||||
retlw 0x20
|
||||
retlw 0x16
|
||||
retlw 0x04
|
||||
retlw 0x7A
|
||||
retlw 0x68
|
||||
retlw 0x5E
|
||||
retlw 0x4C
|
||||
retlw 0xA2
|
||||
retlw 0xB0
|
||||
retlw 0x86
|
||||
retlw 0x94
|
||||
retlw 0xEA
|
||||
retlw 0xF8
|
||||
retlw 0xCE
|
||||
retlw 0xDC
|
||||
retlw 0x64
|
||||
retlw 0x76
|
||||
retlw 0x40
|
||||
retlw 0x52
|
||||
retlw 0x2C
|
||||
retlw 0x3E
|
||||
retlw 0x08
|
||||
retlw 0x1A
|
||||
retlw 0xF4
|
||||
retlw 0xE6
|
||||
retlw 0xD0
|
||||
retlw 0xC2
|
||||
retlw 0xBC
|
||||
retlw 0xAE
|
||||
retlw 0x98
|
||||
retlw 0x8A
|
||||
retlw 0x56
|
||||
retlw 0x44
|
||||
retlw 0x72
|
||||
retlw 0x60
|
||||
retlw 0x1E
|
||||
retlw 0x0C
|
||||
retlw 0x3A
|
||||
retlw 0x28
|
||||
retlw 0xC6
|
||||
retlw 0xD4
|
||||
retlw 0xE2
|
||||
retlw 0xF0
|
||||
retlw 0x8E
|
||||
retlw 0x9C
|
||||
retlw 0xAA
|
||||
retlw 0xB8
|
||||
retlw 0xC8
|
||||
retlw 0xDA
|
||||
retlw 0xEC
|
||||
retlw 0xFE
|
||||
retlw 0x80
|
||||
retlw 0x92
|
||||
retlw 0xA4
|
||||
retlw 0xB6
|
||||
retlw 0x58
|
||||
retlw 0x4A
|
||||
retlw 0x7C
|
||||
retlw 0x6E
|
||||
retlw 0x10
|
||||
retlw 0x02
|
||||
retlw 0x34
|
||||
retlw 0x26
|
||||
retlw 0xFA
|
||||
retlw 0xE8
|
||||
retlw 0xDE
|
||||
retlw 0xCC
|
||||
retlw 0xB2
|
||||
retlw 0xA0
|
||||
retlw 0x96
|
||||
retlw 0x84
|
||||
retlw 0x6A
|
||||
retlw 0x78
|
||||
retlw 0x4E
|
||||
retlw 0x5C
|
||||
retlw 0x22
|
||||
retlw 0x30
|
||||
retlw 0x06
|
||||
retlw 0x14
|
||||
retlw 0xAC
|
||||
retlw 0xBE
|
||||
retlw 0x88
|
||||
retlw 0x9A
|
||||
retlw 0xE4
|
||||
retlw 0xF6
|
||||
retlw 0xC0
|
||||
retlw 0xD2
|
||||
retlw 0x3C
|
||||
retlw 0x2E
|
||||
retlw 0x18
|
||||
retlw 0x0A
|
||||
retlw 0x74
|
||||
retlw 0x66
|
||||
retlw 0x50
|
||||
retlw 0x42
|
||||
retlw 0x9E
|
||||
retlw 0x8C
|
||||
retlw 0xBA
|
||||
retlw 0xA8
|
||||
retlw 0xD6
|
||||
retlw 0xC4
|
||||
retlw 0xF2
|
||||
retlw 0xE0
|
||||
retlw 0x0E
|
||||
retlw 0x1C
|
||||
retlw 0x2A
|
||||
retlw 0x38
|
||||
retlw 0x46
|
||||
retlw 0x54
|
||||
retlw 0x62
|
||||
retlw 0x70
|
||||
retlw 0x82
|
||||
retlw 0x90
|
||||
retlw 0xA6
|
||||
retlw 0xB4
|
||||
retlw 0xCA
|
||||
retlw 0xD8
|
||||
retlw 0xEE
|
||||
retlw 0xFC
|
||||
retlw 0x12
|
||||
retlw 0x00
|
||||
retlw 0x36
|
||||
retlw 0x24
|
||||
retlw 0x5A
|
||||
retlw 0x48
|
||||
retlw 0x7E
|
||||
retlw 0x6C
|
||||
retlw 0xB0
|
||||
retlw 0xA2
|
||||
retlw 0x94
|
||||
retlw 0x86
|
||||
retlw 0xF8
|
||||
retlw 0xEA
|
||||
retlw 0xDC
|
||||
retlw 0xCE
|
||||
retlw 0x20
|
||||
retlw 0x32
|
||||
retlw 0x04
|
||||
retlw 0x16
|
||||
retlw 0x68
|
||||
retlw 0x7A
|
||||
retlw 0x4C
|
||||
retlw 0x5E
|
||||
retlw 0xE6
|
||||
retlw 0xF4
|
||||
retlw 0xC2
|
||||
retlw 0xD0
|
||||
retlw 0xAE
|
||||
retlw 0xBC
|
||||
retlw 0x8A
|
||||
retlw 0x98
|
||||
retlw 0x76
|
||||
retlw 0x64
|
||||
retlw 0x52
|
||||
retlw 0x40
|
||||
retlw 0x3E
|
||||
retlw 0x2C
|
||||
retlw 0x1A
|
||||
retlw 0x08
|
||||
retlw 0xD4
|
||||
retlw 0xC6
|
||||
retlw 0xF0
|
||||
retlw 0xE2
|
||||
retlw 0x9C
|
||||
retlw 0x8E
|
||||
retlw 0xB8
|
||||
retlw 0xAA
|
||||
retlw 0x44
|
||||
retlw 0x56
|
||||
retlw 0x60
|
||||
retlw 0x72
|
||||
retlw 0x0C
|
||||
retlw 0x1E
|
||||
retlw 0x28
|
||||
retlw 0x3A
|
||||
retlw 0x4A
|
||||
retlw 0x58
|
||||
retlw 0x6E
|
||||
retlw 0x7C
|
||||
retlw 0x02
|
||||
retlw 0x10
|
||||
retlw 0x26
|
||||
retlw 0x34
|
||||
retlw 0xDA
|
||||
retlw 0xC8
|
||||
retlw 0xFE
|
||||
retlw 0xEC
|
||||
retlw 0x92
|
||||
retlw 0x80
|
||||
retlw 0xB6
|
||||
retlw 0xA4
|
||||
retlw 0x78
|
||||
retlw 0x6A
|
||||
retlw 0x5C
|
||||
retlw 0x4E
|
||||
retlw 0x30
|
||||
retlw 0x22
|
||||
retlw 0x14
|
||||
retlw 0x06
|
||||
retlw 0xE8
|
||||
retlw 0xFA
|
||||
retlw 0xCC
|
||||
retlw 0xDE
|
||||
retlw 0xA0
|
||||
retlw 0xB2
|
||||
retlw 0x84
|
||||
retlw 0x96
|
||||
retlw 0x2E
|
||||
retlw 0x3C
|
||||
retlw 0x0A
|
||||
retlw 0x18
|
||||
retlw 0x66
|
||||
retlw 0x74
|
||||
retlw 0x42
|
||||
retlw 0x50
|
||||
retlw 0xBE
|
||||
retlw 0xAC
|
||||
retlw 0x9A
|
||||
retlw 0x88
|
||||
retlw 0xF6
|
||||
retlw 0xE4
|
||||
retlw 0xD2
|
||||
retlw 0xC0
|
||||
retlw 0x1C
|
||||
retlw 0x0E
|
||||
retlw 0x38
|
||||
retlw 0x2A
|
||||
retlw 0x54
|
||||
retlw 0x46
|
||||
retlw 0x70
|
||||
retlw 0x62
|
||||
retlw 0x8C
|
||||
retlw 0x9E
|
||||
retlw 0xA8
|
||||
retlw 0xBA
|
||||
retlw 0xC4
|
||||
retlw 0xD6
|
||||
retlw 0xE0
|
||||
retlw 0xF2
|
2292
firmware1704/firmware1704.asm
Normal file
2292
firmware1704/firmware1704.asm
Normal file
File diff suppressed because it is too large
Load Diff
77
firmware1704/firmware1704.mcp
Normal file
77
firmware1704/firmware1704.mcp
Normal file
@ -0,0 +1,77 @@
|
||||
[HEADER]
|
||||
magic_cookie={66E99B07-E706-4689-9E80-9B2582898A13}
|
||||
file_version=1.0
|
||||
device=PIC16F1704
|
||||
[PATH_INFO]
|
||||
BuildDirPolicy=BuildDirIsProjectDir
|
||||
dir_src=
|
||||
dir_bin=
|
||||
dir_tmp=
|
||||
dir_sin=
|
||||
dir_inc=
|
||||
dir_lib=
|
||||
dir_lkr=
|
||||
[CAT_FILTERS]
|
||||
filter_src=*.asm
|
||||
filter_inc=*.h;*.inc
|
||||
filter_obj=*.o
|
||||
filter_lib=*.lib
|
||||
filter_lkr=*.lkr
|
||||
[CAT_SUBFOLDERS]
|
||||
subfolder_src=
|
||||
subfolder_inc=
|
||||
subfolder_obj=
|
||||
subfolder_lib=
|
||||
subfolder_lkr=
|
||||
[FILE_SUBFOLDERS]
|
||||
file_000=.
|
||||
file_001=.
|
||||
file_002=.
|
||||
file_003=.
|
||||
file_004=.
|
||||
file_005=.
|
||||
file_006=.
|
||||
file_007=.
|
||||
[GENERATED_FILES]
|
||||
file_000=no
|
||||
file_001=no
|
||||
file_002=no
|
||||
file_003=no
|
||||
file_004=no
|
||||
file_005=no
|
||||
file_006=no
|
||||
file_007=no
|
||||
[OTHER_FILES]
|
||||
file_000=no
|
||||
file_001=no
|
||||
file_002=no
|
||||
file_003=no
|
||||
file_004=no
|
||||
file_005=no
|
||||
file_006=no
|
||||
file_007=no
|
||||
[FILE_INFO]
|
||||
file_000=firmware1704.asm
|
||||
file_001=C:\Program Files\Microchip\MPASM Suite\p16f1704.inc
|
||||
file_002=crc7.inc
|
||||
file_003=crc16hi.inc
|
||||
file_004=crc16lo.inc
|
||||
file_005=flip.inc
|
||||
file_006=icon.inc
|
||||
file_007=inv.inc
|
||||
[SUITE_INFO]
|
||||
suite_guid={6B3DAA78-59C1-46DD-B6AA-DBDAE4E06484}
|
||||
suite_state=generate-absolute-code
|
||||
[TOOL_SETTINGS]
|
||||
TS{DD2213A8-6310-47B1-8376-9430CDFC013F}=
|
||||
TS{BFD27FBA-4A02-4C0E-A5E5-B812F3E7707C}=/o"$(BINDIR_)$(TARGETBASE).cof" /M"$(BINDIR_)$(TARGETBASE).map" /W
|
||||
TS{ADE93A55-C7C7-4D4D-A4BA-59305F7D0391}=
|
||||
[INSTRUMENTED_TRACE]
|
||||
enable=0
|
||||
transport=0
|
||||
format=0
|
||||
[CUSTOM_BUILD]
|
||||
Pre-Build=
|
||||
Pre-BuildEnabled=1
|
||||
Post-Build=
|
||||
Post-BuildEnabled=1
|
257
firmware1704/flip.inc
Normal file
257
firmware1704/flip.inc
Normal file
@ -0,0 +1,257 @@
|
||||
;LUT for flipping bytes left to right for use with USART as IWM transmitter
|
||||
retlw B'00000000'
|
||||
retlw B'10000000'
|
||||
retlw B'01000000'
|
||||
retlw B'11000000'
|
||||
retlw B'00100000'
|
||||
retlw B'10100000'
|
||||
retlw B'01100000'
|
||||
retlw B'11100000'
|
||||
retlw B'00010000'
|
||||
retlw B'10010000'
|
||||
retlw B'01010000'
|
||||
retlw B'11010000'
|
||||
retlw B'00110000'
|
||||
retlw B'10110000'
|
||||
retlw B'01110000'
|
||||
retlw B'11110000'
|
||||
retlw B'00001000'
|
||||
retlw B'10001000'
|
||||
retlw B'01001000'
|
||||
retlw B'11001000'
|
||||
retlw B'00101000'
|
||||
retlw B'10101000'
|
||||
retlw B'01101000'
|
||||
retlw B'11101000'
|
||||
retlw B'00011000'
|
||||
retlw B'10011000'
|
||||
retlw B'01011000'
|
||||
retlw B'11011000'
|
||||
retlw B'00111000'
|
||||
retlw B'10111000'
|
||||
retlw B'01111000'
|
||||
retlw B'11111000'
|
||||
retlw B'00000100'
|
||||
retlw B'10000100'
|
||||
retlw B'01000100'
|
||||
retlw B'11000100'
|
||||
retlw B'00100100'
|
||||
retlw B'10100100'
|
||||
retlw B'01100100'
|
||||
retlw B'11100100'
|
||||
retlw B'00010100'
|
||||
retlw B'10010100'
|
||||
retlw B'01010100'
|
||||
retlw B'11010100'
|
||||
retlw B'00110100'
|
||||
retlw B'10110100'
|
||||
retlw B'01110100'
|
||||
retlw B'11110100'
|
||||
retlw B'00001100'
|
||||
retlw B'10001100'
|
||||
retlw B'01001100'
|
||||
retlw B'11001100'
|
||||
retlw B'00101100'
|
||||
retlw B'10101100'
|
||||
retlw B'01101100'
|
||||
retlw B'11101100'
|
||||
retlw B'00011100'
|
||||
retlw B'10011100'
|
||||
retlw B'01011100'
|
||||
retlw B'11011100'
|
||||
retlw B'00111100'
|
||||
retlw B'10111100'
|
||||
retlw B'01111100'
|
||||
retlw B'11111100'
|
||||
retlw B'00000010'
|
||||
retlw B'10000010'
|
||||
retlw B'01000010'
|
||||
retlw B'11000010'
|
||||
retlw B'00100010'
|
||||
retlw B'10100010'
|
||||
retlw B'01100010'
|
||||
retlw B'11100010'
|
||||
retlw B'00010010'
|
||||
retlw B'10010010'
|
||||
retlw B'01010010'
|
||||
retlw B'11010010'
|
||||
retlw B'00110010'
|
||||
retlw B'10110010'
|
||||
retlw B'01110010'
|
||||
retlw B'11110010'
|
||||
retlw B'00001010'
|
||||
retlw B'10001010'
|
||||
retlw B'01001010'
|
||||
retlw B'11001010'
|
||||
retlw B'00101010'
|
||||
retlw B'10101010'
|
||||
retlw B'01101010'
|
||||
retlw B'11101010'
|
||||
retlw B'00011010'
|
||||
retlw B'10011010'
|
||||
retlw B'01011010'
|
||||
retlw B'11011010'
|
||||
retlw B'00111010'
|
||||
retlw B'10111010'
|
||||
retlw B'01111010'
|
||||
retlw B'11111010'
|
||||
retlw B'00000110'
|
||||
retlw B'10000110'
|
||||
retlw B'01000110'
|
||||
retlw B'11000110'
|
||||
retlw B'00100110'
|
||||
retlw B'10100110'
|
||||
retlw B'01100110'
|
||||
retlw B'11100110'
|
||||
retlw B'00010110'
|
||||
retlw B'10010110'
|
||||
retlw B'01010110'
|
||||
retlw B'11010110'
|
||||
retlw B'00110110'
|
||||
retlw B'10110110'
|
||||
retlw B'01110110'
|
||||
retlw B'11110110'
|
||||
retlw B'00001110'
|
||||
retlw B'10001110'
|
||||
retlw B'01001110'
|
||||
retlw B'11001110'
|
||||
retlw B'00101110'
|
||||
retlw B'10101110'
|
||||
retlw B'01101110'
|
||||
retlw B'11101110'
|
||||
retlw B'00011110'
|
||||
retlw B'10011110'
|
||||
retlw B'01011110'
|
||||
retlw B'11011110'
|
||||
retlw B'00111110'
|
||||
retlw B'10111110'
|
||||
retlw B'01111110'
|
||||
retlw B'11111110'
|
||||
retlw B'00000001'
|
||||
retlw B'10000001'
|
||||
retlw B'01000001'
|
||||
retlw B'11000001'
|
||||
retlw B'00100001'
|
||||
retlw B'10100001'
|
||||
retlw B'01100001'
|
||||
retlw B'11100001'
|
||||
retlw B'00010001'
|
||||
retlw B'10010001'
|
||||
retlw B'01010001'
|
||||
retlw B'11010001'
|
||||
retlw B'00110001'
|
||||
retlw B'10110001'
|
||||
retlw B'01110001'
|
||||
retlw B'11110001'
|
||||
retlw B'00001001'
|
||||
retlw B'10001001'
|
||||
retlw B'01001001'
|
||||
retlw B'11001001'
|
||||
retlw B'00101001'
|
||||
retlw B'10101001'
|
||||
retlw B'01101001'
|
||||
retlw B'11101001'
|
||||
retlw B'00011001'
|
||||
retlw B'10011001'
|
||||
retlw B'01011001'
|
||||
retlw B'11011001'
|
||||
retlw B'00111001'
|
||||
retlw B'10111001'
|
||||
retlw B'01111001'
|
||||
retlw B'11111001'
|
||||
retlw B'00000101'
|
||||
retlw B'10000101'
|
||||
retlw B'01000101'
|
||||
retlw B'11000101'
|
||||
retlw B'00100101'
|
||||
retlw B'10100101'
|
||||
retlw B'01100101'
|
||||
retlw B'11100101'
|
||||
retlw B'00010101'
|
||||
retlw B'10010101'
|
||||
retlw B'01010101'
|
||||
retlw B'11010101'
|
||||
retlw B'00110101'
|
||||
retlw B'10110101'
|
||||
retlw B'01110101'
|
||||
retlw B'11110101'
|
||||
retlw B'00001101'
|
||||
retlw B'10001101'
|
||||
retlw B'01001101'
|
||||
retlw B'11001101'
|
||||
retlw B'00101101'
|
||||
retlw B'10101101'
|
||||
retlw B'01101101'
|
||||
retlw B'11101101'
|
||||
retlw B'00011101'
|
||||
retlw B'10011101'
|
||||
retlw B'01011101'
|
||||
retlw B'11011101'
|
||||
retlw B'00111101'
|
||||
retlw B'10111101'
|
||||
retlw B'01111101'
|
||||
retlw B'11111101'
|
||||
retlw B'00000011'
|
||||
retlw B'10000011'
|
||||
retlw B'01000011'
|
||||
retlw B'11000011'
|
||||
retlw B'00100011'
|
||||
retlw B'10100011'
|
||||
retlw B'01100011'
|
||||
retlw B'11100011'
|
||||
retlw B'00010011'
|
||||
retlw B'10010011'
|
||||
retlw B'01010011'
|
||||
retlw B'11010011'
|
||||
retlw B'00110011'
|
||||
retlw B'10110011'
|
||||
retlw B'01110011'
|
||||
retlw B'11110011'
|
||||
retlw B'00001011'
|
||||
retlw B'10001011'
|
||||
retlw B'01001011'
|
||||
retlw B'11001011'
|
||||
retlw B'00101011'
|
||||
retlw B'10101011'
|
||||
retlw B'01101011'
|
||||
retlw B'11101011'
|
||||
retlw B'00011011'
|
||||
retlw B'10011011'
|
||||
retlw B'01011011'
|
||||
retlw B'11011011'
|
||||
retlw B'00111011'
|
||||
retlw B'10111011'
|
||||
retlw B'01111011'
|
||||
retlw B'11111011'
|
||||
retlw B'00000111'
|
||||
retlw B'10000111'
|
||||
retlw B'01000111'
|
||||
retlw B'11000111'
|
||||
retlw B'00100111'
|
||||
retlw B'10100111'
|
||||
retlw B'01100111'
|
||||
retlw B'11100111'
|
||||
retlw B'00010111'
|
||||
retlw B'10010111'
|
||||
retlw B'01010111'
|
||||
retlw B'11010111'
|
||||
retlw B'00110111'
|
||||
retlw B'10110111'
|
||||
retlw B'01110111'
|
||||
retlw B'11110111'
|
||||
retlw B'00001111'
|
||||
retlw B'10001111'
|
||||
retlw B'01001111'
|
||||
retlw B'11001111'
|
||||
retlw B'00101111'
|
||||
retlw B'10101111'
|
||||
retlw B'01101111'
|
||||
retlw B'11101111'
|
||||
retlw B'00011111'
|
||||
retlw B'10011111'
|
||||
retlw B'01011111'
|
||||
retlw B'11011111'
|
||||
retlw B'00111111'
|
||||
retlw B'10111111'
|
||||
retlw B'01111111'
|
||||
retlw B'11111111'
|
289
firmware1704/icon.inc
Normal file
289
firmware1704/icon.inc
Normal file
@ -0,0 +1,289 @@
|
||||
;The TashTwenty logo in the form of a 32x32 bitmap icon with mask
|
||||
;................................................................
|
||||
;................................................................
|
||||
;................................................................
|
||||
;................................................................
|
||||
;................................................................
|
||||
;................................................................
|
||||
;................................................................
|
||||
;................................................................
|
||||
;............................##################..######..........
|
||||
;........................###### ######## ####........
|
||||
;......................#### ######........
|
||||
;....................#### #### ## ########........
|
||||
;....................## ###### #### #### ##########..........
|
||||
;....................######## ## #### ########............
|
||||
;......................###### #### #### ####................
|
||||
;........................## #### #### ####................
|
||||
;........................## #### #### ####................
|
||||
;........................## ## #### ####................
|
||||
;........................## ## ###### ##########..........
|
||||
;........................#### ######## ###### ####........
|
||||
;..########################## ###### ## ############..
|
||||
;## #### ######## ##
|
||||
;## ######## ########## ##
|
||||
;## ######################## ##
|
||||
;## ################ ##
|
||||
;## ##
|
||||
;## #### ##
|
||||
;## ##
|
||||
;## ##
|
||||
;..############################################################..
|
||||
;................................................................
|
||||
;................................................................
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x03
|
||||
retlw 0xFE
|
||||
retlw 0xE0
|
||||
retlw 0x00
|
||||
retlw 0x0E
|
||||
retlw 0x07
|
||||
retlw 0xB0
|
||||
retlw 0x00
|
||||
retlw 0x18
|
||||
retlw 0x00
|
||||
retlw 0x70
|
||||
retlw 0x00
|
||||
retlw 0x33
|
||||
retlw 0x40
|
||||
retlw 0xF0
|
||||
retlw 0x00
|
||||
retlw 0x2E
|
||||
retlw 0xDB
|
||||
retlw 0xE0
|
||||
retlw 0x00
|
||||
retlw 0x3C
|
||||
retlw 0x9B
|
||||
retlw 0xC0
|
||||
retlw 0x00
|
||||
retlw 0x1D
|
||||
retlw 0x9B
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x09
|
||||
retlw 0x9B
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x09
|
||||
retlw 0x9B
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x08
|
||||
retlw 0x9B
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x08
|
||||
retlw 0xBB
|
||||
retlw 0xE0
|
||||
retlw 0x00
|
||||
retlw 0x0C
|
||||
retlw 0x7B
|
||||
retlw 0xB0
|
||||
retlw 0x7F
|
||||
retlw 0xFC
|
||||
retlw 0x3A
|
||||
retlw 0x7E
|
||||
retlw 0x80
|
||||
retlw 0x06
|
||||
retlw 0x00
|
||||
retlw 0xF1
|
||||
retlw 0x80
|
||||
retlw 0x07
|
||||
retlw 0x83
|
||||
retlw 0xE1
|
||||
retlw 0x80
|
||||
retlw 0x03
|
||||
retlw 0xFF
|
||||
retlw 0xC1
|
||||
retlw 0x80
|
||||
retlw 0x00
|
||||
retlw 0xFF
|
||||
retlw 0x01
|
||||
retlw 0x80
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x01
|
||||
retlw 0x8C
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x01
|
||||
retlw 0x80
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x01
|
||||
retlw 0x80
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x01
|
||||
retlw 0x7F
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFE
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x03
|
||||
retlw 0xFE
|
||||
retlw 0xE0
|
||||
retlw 0x00
|
||||
retlw 0x0F
|
||||
retlw 0xFF
|
||||
retlw 0xF0
|
||||
retlw 0x00
|
||||
retlw 0x1F
|
||||
retlw 0xFF
|
||||
retlw 0xF0
|
||||
retlw 0x00
|
||||
retlw 0x3F
|
||||
retlw 0xFF
|
||||
retlw 0xF0
|
||||
retlw 0x00
|
||||
retlw 0x3F
|
||||
retlw 0xFF
|
||||
retlw 0xE0
|
||||
retlw 0x00
|
||||
retlw 0x3F
|
||||
retlw 0xFF
|
||||
retlw 0xC0
|
||||
retlw 0x00
|
||||
retlw 0x1F
|
||||
retlw 0xFF
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x0F
|
||||
retlw 0xFF
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x0F
|
||||
retlw 0xFF
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x0F
|
||||
retlw 0xFF
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x0F
|
||||
retlw 0xFF
|
||||
retlw 0xE0
|
||||
retlw 0x00
|
||||
retlw 0x0F
|
||||
retlw 0xFF
|
||||
retlw 0xF0
|
||||
retlw 0x7F
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFE
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0x7F
|
||||
retlw 0xFF
|
||||
retlw 0xFF
|
||||
retlw 0xFE
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
||||
retlw 0x00
|
257
firmware1704/inv.inc
Normal file
257
firmware1704/inv.inc
Normal file
@ -0,0 +1,257 @@
|
||||
;LUT for translating IWM inversions into IWM bytes
|
||||
retlw 0x80
|
||||
retlw 0x81
|
||||
retlw 0x83
|
||||
retlw 0x82
|
||||
retlw 0x86
|
||||
retlw 0x87
|
||||
retlw 0x85
|
||||
retlw 0x84
|
||||
retlw 0x8C
|
||||
retlw 0x8D
|
||||
retlw 0x8F
|
||||
retlw 0x8E
|
||||
retlw 0x8A
|
||||
retlw 0x8B
|
||||
retlw 0x89
|
||||
retlw 0x88
|
||||
retlw 0x98
|
||||
retlw 0x99
|
||||
retlw 0x9B
|
||||
retlw 0x9A
|
||||
retlw 0x9E
|
||||
retlw 0x9F
|
||||
retlw 0x9D
|
||||
retlw 0x9C
|
||||
retlw 0x94
|
||||
retlw 0x95
|
||||
retlw 0x97
|
||||
retlw 0x96
|
||||
retlw 0x92
|
||||
retlw 0x93
|
||||
retlw 0x91
|
||||
retlw 0x90
|
||||
retlw 0xB0
|
||||
retlw 0xB1
|
||||
retlw 0xB3
|
||||
retlw 0xB2
|
||||
retlw 0xB6
|
||||
retlw 0xB7
|
||||
retlw 0xB5
|
||||
retlw 0xB4
|
||||
retlw 0xBC
|
||||
retlw 0xBD
|
||||
retlw 0xBF
|
||||
retlw 0xBE
|
||||
retlw 0xBA
|
||||
retlw 0xBB
|
||||
retlw 0xB9
|
||||
retlw 0xB8
|
||||
retlw 0xA8
|
||||
retlw 0xA9
|
||||
retlw 0xAB
|
||||
retlw 0xAA
|
||||
retlw 0xAE
|
||||
retlw 0xAF
|
||||
retlw 0xAD
|
||||
retlw 0xAC
|
||||
retlw 0xA4
|
||||
retlw 0xA5
|
||||
retlw 0xA7
|
||||
retlw 0xA6
|
||||
retlw 0xA2
|
||||
retlw 0xA3
|
||||
retlw 0xA1
|
||||
retlw 0xA0
|
||||
retlw 0xE0
|
||||
retlw 0xE1
|
||||
retlw 0xE3
|
||||
retlw 0xE2
|
||||
retlw 0xE6
|
||||
retlw 0xE7
|
||||
retlw 0xE5
|
||||
retlw 0xE4
|
||||
retlw 0xEC
|
||||
retlw 0xED
|
||||
retlw 0xEF
|
||||
retlw 0xEE
|
||||
retlw 0xEA
|
||||
retlw 0xEB
|
||||
retlw 0xE9
|
||||
retlw 0xE8
|
||||
retlw 0xF8
|
||||
retlw 0xF9
|
||||
retlw 0xFB
|
||||
retlw 0xFA
|
||||
retlw 0xFE
|
||||
retlw 0xFF
|
||||
retlw 0xFD
|
||||
retlw 0xFC
|
||||
retlw 0xF4
|
||||
retlw 0xF5
|
||||
retlw 0xF7
|
||||
retlw 0xF6
|
||||
retlw 0xF2
|
||||
retlw 0xF3
|
||||
retlw 0xF1
|
||||
retlw 0xF0
|
||||
retlw 0xD0
|
||||
retlw 0xD1
|
||||
retlw 0xD3
|
||||
retlw 0xD2
|
||||
retlw 0xD6
|
||||
retlw 0xD7
|
||||
retlw 0xD5
|
||||
retlw 0xD4
|
||||
retlw 0xDC
|
||||
retlw 0xDD
|
||||
retlw 0xDF
|
||||
retlw 0xDE
|
||||
retlw 0xDA
|
||||
retlw 0xDB
|
||||
retlw 0xD9
|
||||
retlw 0xD8
|
||||
retlw 0xC8
|
||||
retlw 0xC9
|
||||
retlw 0xCB
|
||||
retlw 0xCA
|
||||
retlw 0xCE
|
||||
retlw 0xCF
|
||||
retlw 0xCD
|
||||
retlw 0xCC
|
||||
retlw 0xC4
|
||||
retlw 0xC5
|
||||
retlw 0xC7
|
||||
retlw 0xC6
|
||||
retlw 0xC2
|
||||
retlw 0xC3
|
||||
retlw 0xC1
|
||||
retlw 0xC0
|
||||
retlw 0xC0
|
||||
retlw 0xC1
|
||||
retlw 0xC3
|
||||
retlw 0xC2
|
||||
retlw 0xC6
|
||||
retlw 0xC7
|
||||
retlw 0xC5
|
||||
retlw 0xC4
|
||||
retlw 0xCC
|
||||
retlw 0xCD
|
||||
retlw 0xCF
|
||||
retlw 0xCE
|
||||
retlw 0xCA
|
||||
retlw 0xCB
|
||||
retlw 0xC9
|
||||
retlw 0xC8
|
||||
retlw 0xD8
|
||||
retlw 0xD9
|
||||
retlw 0xDB
|
||||
retlw 0xDA
|
||||
retlw 0xDE
|
||||
retlw 0xDF
|
||||
retlw 0xDD
|
||||
retlw 0xDC
|
||||
retlw 0xD4
|
||||
retlw 0xD5
|
||||
retlw 0xD7
|
||||
retlw 0xD6
|
||||
retlw 0xD2
|
||||
retlw 0xD3
|
||||
retlw 0xD1
|
||||
retlw 0xD0
|
||||
retlw 0xF0
|
||||
retlw 0xF1
|
||||
retlw 0xF3
|
||||
retlw 0xF2
|
||||
retlw 0xF6
|
||||
retlw 0xF7
|
||||
retlw 0xF5
|
||||
retlw 0xF4
|
||||
retlw 0xFC
|
||||
retlw 0xFD
|
||||
retlw 0xFF
|
||||
retlw 0xFE
|
||||
retlw 0xFA
|
||||
retlw 0xFB
|
||||
retlw 0xF9
|
||||
retlw 0xF8
|
||||
retlw 0xE8
|
||||
retlw 0xE9
|
||||
retlw 0xEB
|
||||
retlw 0xEA
|
||||
retlw 0xEE
|
||||
retlw 0xEF
|
||||
retlw 0xED
|
||||
retlw 0xEC
|
||||
retlw 0xE4
|
||||
retlw 0xE5
|
||||
retlw 0xE7
|
||||
retlw 0xE6
|
||||
retlw 0xE2
|
||||
retlw 0xE3
|
||||
retlw 0xE1
|
||||
retlw 0xE0
|
||||
retlw 0xA0
|
||||
retlw 0xA1
|
||||
retlw 0xA3
|
||||
retlw 0xA2
|
||||
retlw 0xA6
|
||||
retlw 0xA7
|
||||
retlw 0xA5
|
||||
retlw 0xA4
|
||||
retlw 0xAC
|
||||
retlw 0xAD
|
||||
retlw 0xAF
|
||||
retlw 0xAE
|
||||
retlw 0xAA
|
||||
retlw 0xAB
|
||||
retlw 0xA9
|
||||
retlw 0xA8
|
||||
retlw 0xB8
|
||||
retlw 0xB9
|
||||
retlw 0xBB
|
||||
retlw 0xBA
|
||||
retlw 0xBE
|
||||
retlw 0xBF
|
||||
retlw 0xBD
|
||||
retlw 0xBC
|
||||
retlw 0xB4
|
||||
retlw 0xB5
|
||||
retlw 0xB7
|
||||
retlw 0xB6
|
||||
retlw 0xB2
|
||||
retlw 0xB3
|
||||
retlw 0xB1
|
||||
retlw 0xB0
|
||||
retlw 0x90
|
||||
retlw 0x91
|
||||
retlw 0x93
|
||||
retlw 0x92
|
||||
retlw 0x96
|
||||
retlw 0x97
|
||||
retlw 0x95
|
||||
retlw 0x94
|
||||
retlw 0x9C
|
||||
retlw 0x9D
|
||||
retlw 0x9F
|
||||
retlw 0x9E
|
||||
retlw 0x9A
|
||||
retlw 0x9B
|
||||
retlw 0x99
|
||||
retlw 0x98
|
||||
retlw 0x88
|
||||
retlw 0x89
|
||||
retlw 0x8B
|
||||
retlw 0x8A
|
||||
retlw 0x8E
|
||||
retlw 0x8F
|
||||
retlw 0x8D
|
||||
retlw 0x8C
|
||||
retlw 0x84
|
||||
retlw 0x85
|
||||
retlw 0x87
|
||||
retlw 0x86
|
||||
retlw 0x82
|
||||
retlw 0x83
|
||||
retlw 0x81
|
||||
retlw 0x80
|
Loading…
Reference in New Issue
Block a user