Virgil Dupras
f41508725d
sms/pad: handle return properly
That is, send current chr selection, and then, send LF.
5 years ago
Virgil Dupras
9c87734499
sms/vdp: clear cursor before CR or BS
This avoids having "ghost" chr selection sticking around.
5 years ago
Virgil Dupras
ff7a114736
zasm: update bootstrap bin
5 years ago
Virgil Dupras
54b0602710
zasm: add support for RES and SET
5 years ago
Virgil Dupras
dd84c11905
recipes/sms: Add pad-oriented character selection
5 years ago
Virgil Dupras
2679172edf
sms/vdp: implement "chrsel" hook
This allows for outputting a character selection before it's given
through GetC. That allows a pad-oriented character selection scheme.
5 years ago
Virgil Dupras
74de1c92cf
sms/pad: implement character selection mechanism
Still a bit rough around the edges, but still, works rather well.
5 years ago
Virgil Dupras
748d7347c8
shell: add "loop hook"
This hook is called during every iteration, allowing regular screen
refresh when video is involved.
5 years ago
Virgil Dupras
bd003829e8
recipes/sms: plug shell in!
Now this is getting eminently exciting!
5 years ago
Virgil Dupras
404dbd0ddd
sms/vdp: handle CR and LF
5 years ago
Virgil Dupras
767db17252
recipes/sms: hitting a button now adds a char on the screen
5 years ago
Virgil Dupras
2da4a3a87b
sms/vdp: new module allowing PutC to spit chars in the VDP
5 years ago
Virgil Dupras
c5a0a6ff54
sms/pad: easily detect change in button config
5 years ago
Virgil Dupras
9eb80d5eac
sms/pad: new module to manage Megadrive controller in SMS
5 years ago
Virgil Dupras
ca5bc07a75
recipes/sms: show all letters in font when Start is pressed
5 years ago
Virgil Dupras
ba2804a255
recipes/sms: add controller support
5 years ago
Virgil Dupras
95fa473641
recipes/sms: New section for Sega Master System
5 years ago
Virgil Dupras
63486126ef
zasm: update bootstrap bin
5 years ago
Virgil Dupras
3a8b5108f7
zasm: make .fill support word arguments
5 years ago
Virgil Dupras
2efe887434
recipes/rc2014/ps2: add schema
5 years ago
Virgil Dupras
e3eea8839b
recipes/rc2014/ps2: works rather well now!
5 years ago
Virgil Dupras
b7cda6ed14
shell: improve reliability
Make ASCII_BS (sent when driven through kbd) make the same thing as
ASCII_DEL. Also, don't crash on filling the buffer.
5 years ago
Virgil Dupras
ad31c7f7f5
kbd: make letters lowercase
We'll make them uppercase when we'll add support for shift.
5 years ago
Virgil Dupras
cd7743b3ae
kbd: give the device a little breathing room in tight loops
5 years ago
Virgil Dupras
2c6ab08d51
recipes/rc2014/ps2: add "resend" requests on parity check failures
5 years ago
Virgil Dupras
0f82ebe02d
recipes/rc2014/ps2: add parity checks
Also, add timer to reset reception status after 100us.
5 years ago
Virgil Dupras
360446e731
recipes/rc2014/ps2: don't alter SREG in hdlPCINT
5 years ago
Virgil Dupras
e44ebb08b2
recipes/rc2014/ps2: drive a shell with ps/2 kbd!
5 years ago
Virgil Dupras
3cdb25bfda
recipes/rc2014/ps2: implement scan code buffer
5 years ago
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