Virgil Dupras
20a7ad231f
recipes/rc2014/pc2: new recipe (WIP)
5 years ago
Virgil Dupras
2d0f8ffac4
Update README
5 years ago
Virgil Dupras
9fb77054c0
Update docs w.r.t. its relationship with scas
5 years ago
Virgil Dupras
d6b391e39a
Update bootstrap binaries
5 years ago
Virgil Dupras
69fc2e3bf2
sdc: make sdcReadBlk return error on max retries
It previously returned success!
5 years ago
Virgil Dupras
7cdc288ef2
zasm: print progress indicator while assembling
5 years ago
Virgil Dupras
66fbd20e21
sdc: tidy up
5 years ago
Virgil Dupras
d9ae82c81e
sdc: enable CRC checks on blk write
5 years ago
Virgil Dupras
6df77ddef3
recipes/rc2014/zasm: we can now assemble the recipe's kernel
5 years ago
Virgil Dupras
2ac16d4750
sdc: check CRC during sdcReadBlk
When there's a mismatch, retry up to a certain number of times.
This makes random problem related to assembling big kernels go away! But
it also make SD card reading much slower...
5 years ago
Virgil Dupras
cac9acca67
sdc: make some space in memory for buffer CRC
5 years ago
Virgil Dupras
34db493496
sdc: implement CRC7 computation on cmds
For now, this achieves nothing else than wasting cycles, but this is the
first step in enabling CRC verifications (CMD59).
I think that this is where my random problems with assembling large
kernels from SDC come from: bad data that isn't detected. If that
happens when PGM loads programs in memory, then anything can happen.
`sdct`, when ran often enough, will error out or corrupt away (go
crazy)...
5 years ago
Virgil Dupras
6516ff7212
zasm: add support for "XOR n" and "SLA r"
5 years ago
Virgil Dupras
0a36ea0815
recipes/rc2014/zasm: add unpack + verification
5 years ago
Virgil Dupras
6f61aa404f
tools/cfsunpack: new tool
5 years ago
Virgil Dupras
95b658897a
recipes/rc2014/zasm: add instructions to assemble kernel
5 years ago
Virgil Dupras
3e437747c2
recipes/rc2014: add missing calls to fsInit
Also, tighten RAM addresses. They were unecessarily loose.
5 years ago
Virgil Dupras
914c6d5abc
Update comments
5 years ago
Virgil Dupras
00778f73e1
blockdev: fix bug recently introduced in load cmd
It would always load one byte less than told... This time it's right on
the money :)
5 years ago
Virgil Dupras
4b423a9dc6
tools/blkdump.py: new tool
Also, rename "download.py" to "memdump.py".
5 years ago
Virgil Dupras
8cf9904f33
blockdev: fix load command over-loading a byte
Calling `load` would always read one more byte than specified. Also,
make `0` mean `0x100`.
5 years ago
Virgil Dupras
bd2877e012
shell: make arg in peek/poke mandatory
Also, make `0` mean `0x100`.
5 years ago
Virgil Dupras
5e31de0bac
apps/memt: new app
5 years ago
Virgil Dupras
7c23e5a9ef
acia: protect DE during aciaInt
I don't know why I haven't noticed it wasn't protected. It must have
been behind many random problems I've been having...
5 years ago
Virgil Dupras
3bc165c8f6
Update bootstrap bin
5 years ago
Virgil Dupras
3e7d181d3c
zasm: properly raise error on bas ioPutC calls
5 years ago
Virgil Dupras
7ba8e85a4a
Update bootstrap binaries
5 years ago
Virgil Dupras
4327153ffd
zasm: fix include EOF detection
That was an interesting bug. It didn't cause a problem in emulation, but
in an RC2014 on an SD card, an include that didn't end with two newlines
would cause an infinite loop.
5 years ago
Virgil Dupras
92a04f4627
sdc: support 24-bit addressing
Needed if we want to compile the kernel and zasm from within a SD card.
I didn't go straight for 32-bit because it was significantly more
complex and 24-bit give us 16M. Enough to go on for a while...
5 years ago
Virgil Dupras
605c631dc0
shell: add support for backspace
It doesn't sound like much, but that backspace key is often useful...
5 years ago
Virgil Dupras
e7c07cdd9a
apps/at28w: fix argument byte order
5 years ago
Virgil Dupras
14cc2fb785
parse: fix option word default value
Previously, an optional word argument would only have its first byte set
to zero.
5 years ago
Virgil Dupras
93981e00eb
zasm: fix include line no in error reports
Weren't properly saved during local pass back and forth.
5 years ago
Virgil Dupras
c613f7b0ee
recipes/rc2014/eeprom: fix broken a28w args passing
That's why the command seemed slow! It's much faster than I thought.
5 years ago
Virgil Dupras
4ea7839488
New tool: download.py
5 years ago
Virgil Dupras
df5549ae76
tools/upload.py: support files larger than 0xff bytes
5 years ago
Virgil Dupras
d40940a1ff
doc/zasm: fix error
5 years ago
Virgil Dupras
817636242a
Add at28w app and recipe
This allows us to write to an AT28 EEPROM from within collapse os.
5 years ago
Virgil Dupras
145b48efb7
Add apps/sdct
A new app to stress test the SD card driver. Also, accompanying this
commit, changes solidifying the SD card driver so that stress tests
actually pass :)
5 years ago
Virgil Dupras
8b638f6899
Update README
5 years ago
Virgil Dupras
9bb2194fb0
recipes/rc2014/zasm: zasm can now assemble *and* write to file
5 years ago
Virgil Dupras
495d69c1cb
sdc: make writing more solid
By not waiting until the SD card wan't busy any more after a write, we
exposed ourselves to errors if another operation was attempted right
after it.
5 years ago
Virgil Dupras
e046081900
sdc: add second buffer
5 years ago
Virgil Dupras
db24e21276
sdc: add layer of indirection to buffer system
Also, lay out the plan for adding a second buffer.
5 years ago
Virgil Dupras
b742d48b75
Update bootstrap binaries
5 years ago
Virgil Dupras
3dde51ae98
Allow file-to-file compilation in the emulated shell
5 years ago
Virgil Dupras
fb99f4ad91
fs: grow file size on fsPutC, if appropriate
5 years ago
Virgil Dupras
fc81bce70f
Fix error handling when writing to files in emulated shell
5 years ago
Virgil Dupras
2483ee699d
fs: fix broken fopn on id > 0
5 years ago
Virgil Dupras
a7ce9f6fc6
pgm: adapt to recent blkdev change
With fsGetC becoming a "random address" API, it broke pgm. This commit
fixes it. To avoid adding the weight of a blkdev in pgm, I manage the
read offset directly in pgm.
5 years ago