Virgil Dupras
3d474c9121
apps/ed: first steps
5 lat temu
Virgil Dupras
921a109749
stdio: little tweaks
5 lat temu
Virgil Dupras
e01ee170cb
stdio: add stdioReadC
A routine to conveniently read lines from TTY. Extracted from
shell. Will be used in other places.
5 lat temu
Virgil Dupras
252d71f1b8
Make tools/emul *BSD-friendly
5 lat temu
Virgil Dupras
8cc5bbb110
recipes/sms: update README
5 lat temu
Virgil Dupras
ade9b96d14
sms/pad: make B jump to the next selection "class"
5 lat temu
Virgil Dupras
162e503291
sms/vdp: properly protect AF on PutC
5 lat temu
Virgil Dupras
f41508725d
sms/pad: handle return properly
That is, send current chr selection, and then, send LF.
5 lat temu
Virgil Dupras
9c87734499
sms/vdp: clear cursor before CR or BS
This avoids having "ghost" chr selection sticking around.
5 lat temu
Virgil Dupras
ff7a114736
zasm: update bootstrap bin
5 lat temu
Virgil Dupras
54b0602710
zasm: add support for RES and SET
5 lat temu
Virgil Dupras
dd84c11905
recipes/sms: Add pad-oriented character selection
5 lat temu
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 lat temu
Virgil Dupras
74de1c92cf
sms/pad: implement character selection mechanism
Still a bit rough around the edges, but still, works rather well.
5 lat temu
Virgil Dupras
748d7347c8
shell: add "loop hook"
This hook is called during every iteration, allowing regular screen
refresh when video is involved.
5 lat temu
Virgil Dupras
bd003829e8
recipes/sms: plug shell in!
Now this is getting eminently exciting!
5 lat temu
Virgil Dupras
404dbd0ddd
sms/vdp: handle CR and LF
5 lat temu
Virgil Dupras
767db17252
recipes/sms: hitting a button now adds a char on the screen
5 lat temu
Virgil Dupras
2da4a3a87b
sms/vdp: new module allowing PutC to spit chars in the VDP
5 lat temu
Virgil Dupras
c5a0a6ff54
sms/pad: easily detect change in button config
5 lat temu
Virgil Dupras
9eb80d5eac
sms/pad: new module to manage Megadrive controller in SMS
5 lat temu
Virgil Dupras
ca5bc07a75
recipes/sms: show all letters in font when Start is pressed
5 lat temu
Virgil Dupras
ba2804a255
recipes/sms: add controller support
5 lat temu
Virgil Dupras
95fa473641
recipes/sms: New section for Sega Master System
5 lat temu
Virgil Dupras
63486126ef
zasm: update bootstrap bin
5 lat temu
Virgil Dupras
3a8b5108f7
zasm: make .fill support word arguments
5 lat temu
Virgil Dupras
2efe887434
recipes/rc2014/ps2: add schema
5 lat temu
Virgil Dupras
e3eea8839b
recipes/rc2014/ps2: works rather well now!
5 lat temu
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 lat temu
Virgil Dupras
ad31c7f7f5
kbd: make letters lowercase
We'll make them uppercase when we'll add support for shift.
5 lat temu
Virgil Dupras
cd7743b3ae
kbd: give the device a little breathing room in tight loops
5 lat temu
Virgil Dupras
2c6ab08d51
recipes/rc2014/ps2: add "resend" requests on parity check failures
5 lat temu
Virgil Dupras
0f82ebe02d
recipes/rc2014/ps2: add parity checks
Also, add timer to reset reception status after 100us.
5 lat temu
Virgil Dupras
360446e731
recipes/rc2014/ps2: don't alter SREG in hdlPCINT
5 lat temu
Virgil Dupras
e44ebb08b2
recipes/rc2014/ps2: drive a shell with ps/2 kbd!
5 lat temu
Virgil Dupras
3cdb25bfda
recipes/rc2014/ps2: implement scan code buffer
5 lat temu
Virgil Dupras
20a7ad231f
recipes/rc2014/pc2: new recipe (WIP)
5 lat temu
Virgil Dupras
2d0f8ffac4
Update README
5 lat temu
Virgil Dupras
9fb77054c0
Update docs w.r.t. its relationship with scas
5 lat temu
Virgil Dupras
d6b391e39a
Update bootstrap binaries
5 lat temu
Virgil Dupras
69fc2e3bf2
sdc: make sdcReadBlk return error on max retries
It previously returned success!
5 lat temu
Virgil Dupras
7cdc288ef2
zasm: print progress indicator while assembling
5 lat temu
Virgil Dupras
66fbd20e21
sdc: tidy up
5 lat temu
Virgil Dupras
d9ae82c81e
sdc: enable CRC checks on blk write
5 lat temu
Virgil Dupras
6df77ddef3
recipes/rc2014/zasm: we can now assemble the recipe's kernel
5 lat temu
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 lat temu
Virgil Dupras
cac9acca67
sdc: make some space in memory for buffer CRC
5 lat temu
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 lat temu
Virgil Dupras
6516ff7212
zasm: add support for "XOR n" and "SLA r"
5 lat temu
Virgil Dupras
0a36ea0815
recipes/rc2014/zasm: add unpack + verification
5 lat temu