Virgil Dupras
3607eefa55
Add arduinouno/at28 recipe
3年前
Virgil Dupras
c2b507eaff
tools: improve usability on OpenBSD
So far, I hadn't managed to run those tools properly on OpenBSD. I
was too confused by its stty peculiarities. I'm still confused, but
at least I managed to make them work... most of the time...
4年前
Virgil Dupras
a8302920cb
tools/memdump: expect proper prompt
4年前
Virgil Dupras
2d9a07d215
blkunpack: don't include trailing empty lines
This was becoming heavy to manage.
4年前
link2xt
4017fd04ac
Replace deprecated bzero with memset ( #119 )
4年前
link2xt
79da1db90e
tools: mark local C functions as static ( #120 )
4年前
Virgil Dupras
f6ded7712e
VE: add 't'
This is the first commit I do entirely in VE. It's a habit I'm planning
on taking as it helps a lot to find usability issues.
4年前
Zac Stewart
ae954906d8
Make blkpack close files when it's done reading them ( #108 )
* Report when a file cannot be opened
* Close files when done reading them
4年前
Virgil Dupras
bcddfd461d
blkpack: Remove usage of nonstandard d_type
The man page says it's not always available and it caused problems
under some FSes. The condition is not needed in the context of
blk/, let's scrap it.
4年前
Virgil Dupras
c07a594e1a
Begin working on a Visual Editor
4年前
Virgil Dupras
93c6d150e2
emul: don't embed forth.bin in emul binaries
Read the contents of forth.bin at runtime. This allows us to get
rid of the bin2c tooling.
4年前
Virgil Dupras
d777a74be3
Forth takeover!
4年前
Virgil Dupras
223cb94466
tools/upload: use C! instead of A!
Addressed devices are not included in Collapse OS by default. Let's
just accept that upload only works with memory.
4年前
Virgil Dupras
5504c796ee
tools: add blkup
With this tool, we can send content to a TRS-80 directly to floppy.
This paves the way to writing ourselves a set of disks containing the
blkfs!
4年前
Virgil Dupras
7344186c62
tools: add blkup
not actually tested yet...
4年前
Virgil Dupras
efed0e249e
recipes/rc2014/selfhost: add verification instructions
4年前
Virgil Dupras
dee7eea497
Move link.fs to blkfs
4年前
Virgil Dupras
a2f164ecc3
emul: bootstrap to stage2 from within Collapse OS!
Big bootstrapping change which greatly reduces the role of the modern
operating system in the bootstrapping process.
4年前
Virgil Dupras
13771d8c92
xcomp: add XPACK
4年前
Virgil Dupras
9edab10a3a
blk: add dirty flag and auto write blocks on fetch
Also, fix some PSP leaks related to LOAD.
4年前
Virgil Dupras
79ce88c12c
tools: add blkunpack
and remove cfspack, which will not ever be used again.
4年前
Virgil Dupras
d4cdb659b4
tools: add blkpack
4年前
Virgil Dupras
b536d3bfd6
rc2014: complete the EEPROM recipe
4年前
Virgil Dupras
d0545d555f
upload: use A! instead of C!
It makes the tool much more versatile. I'll have adev being included
in all recipes, so it can be assumed.
4年前
Virgil Dupras
509972b08c
tools: add exec and convert ./upload to Forth
4年前
Virgil Dupras
d6c9ab3f32
tools/stripfc: strip a little bit more
4年前
Virgil Dupras
e37f4c2551
bin2c: add missing stdtypes.h
4年前
Byron A. Grobe
217df20d77
Moved tools/bin2c to single-level with other tools.
4年前
Byron A. Grobe
f65c189e9b
Replace bin2c.sh with a more portable implementation.
`xxd' is not available on all systems, and on others does not support
the `-i' flag. Since bin2c.sh relied on a tool that I can't seem to find
a compatible version of, I have included a simple, portable replacement in C.
Usage remains the same:
bin2c ARRAYNAME < inputfile > outputfile.
This change is also reflected in emul/Makefile.
4年前
Virgil Dupras
ba384bfa0f
Add stripfc tool
4年前
Virgil Dupras
9235fa9223
Add /tools/slatest
To update LATEST offset more easily. Will be useful for recipes.
4年前
Virgil Dupras
049f2cf222
Reverse ttysafe escaping order
Sending the escape after its target made things complicated for upcoming
stuff I want to add. Although it makes `recv.asm` slightly larger, it's really
worth it.
4年前
Virgil Dupras
c5116b39ae
Fix tools Makefile for GNU make
It seems that my little "@.c" trick only worked in BSD make...
4年前
Virgil Dupras
a74ee81822
recipes/trs80: new recipe (WIP)
4年前
Virgil Dupras
439f880abe
Rewrite font_compile.pl to C
4年前
Virgil Dupras
359991c005
cfspack: fix compilation error
Some compilers don't like assigning stdout statically.
4年前
Virgil Dupras
4cde58fd83
cfspack: make into a library
Use it in shell instead of using popen()
4年前
Virgil Dupras
72357fec86
Move "emul" folder to root
4年前
Virgil Dupras
40f56dd6dc
cfspack: silence compilation warning
4年前
Virgil Dupras
c5c6ef4c6c
Move "tests" folder to root
4年前
Virgil Dupras
e3c885085d
Consolidate tests
Also, removed leftover in runbin.c (what did it do there??) that
could result in tests falsely passing.
4年前
Virgil Dupras
7ca54d179d
lib/expr: make EXPR_PARSE "tail" HL
Things are now much simpler.
4年前
Virgil Dupras
289037a3dd
lib/parse: make parseDecimal "tail" HL
HL, instead of being preserved, is set to the character following
the last read character.
4年前
Virgil Dupras
dcb96aefe9
lib/parse: remove parseHexPair
Also, make parseHexadecimal "tail" (HL). Soon, all routines in lib/parse
will do that, making the life of lib/expr easier.
4年前
Virgil Dupras
2503bdfced
lib/args: remove
4年前
Virgil Dupras
981c93bfd4
lib/expr: fix stack imbalance on failure
4年前
Virgil Dupras
4760d044c0
test_expr: simplify
4年前
Virgil Dupras
213614af33
lib/expr: make recursion process a bit more orderly
Instead of going left and right, finding operators chars and replacing them
with nulls, we parse expressions in a more orderly manner, one chunk at a
time. I think it qualifies as "recursive descent", but I'm not sure.
This allows us to preserve the string we parse and should also make the
implementation of parens much easier.
4年前
Virgil Dupras
7410891ad1
lib/expr: fix unary minus
For some reason, I've mistakenly disabled tests in test_expr without noticing
and I also broke "-123" parsing. Fixed.
4年前
Virgil Dupras
6d88c3a754
parseExprDE --> parseExpr
4年前