summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Miles Rout [Mon, 25 Nov 2019 10:36:01 +0000 (23:36 +1300)]
Continue 'poison pattern' with malloc and friends
Miles Rout [Mon, 25 Nov 2019 10:27:26 +0000 (23:27 +1300)]
Split printf.h according to 'poison pattern'
The pattern is to have two copies of an include file, in this case
printf.h and _printf.h. The latter is #included only in the
implementation file, and provides prototypes. The former #includes the
latter, but also poisons all the identifiers.
This pattern is because otherwise it's very easy to forget to use the e*
versions of functions. Using e.g. printf instead of eprintf is an easy
mistake to make, and will result in errors being silently ignored.
Miles Rout [Mon, 25 Nov 2019 10:23:48 +0000 (23:23 +1300)]
Create proper error handling functions
abort_with_error() prints then aborts. This commit also creates e*
aborting versions of some of the *printf functions (printf, fprintf and
vfprintf). More will come as they are needed.
Miles Rout [Mon, 25 Nov 2019 09:54:53 +0000 (22:54 +1300)]
Add error handling around fprintf call
It is probably a good idea to start handling errors properly now, rather
than trying to retrofit it in later.
Miles Rout [Mon, 25 Nov 2019 09:43:48 +0000 (22:43 +1300)]
Begin assembler
Miles Rout [Mon, 25 Nov 2019 09:06:49 +0000 (22:06 +1300)]
Create docs/
Miles Rout [Mon, 25 Nov 2019 09:00:30 +0000 (22:00 +1300)]
Move VM into vm/
There will soon be other components that need their own top-level
directories.
Miles Rout [Mon, 25 Nov 2019 07:48:38 +0000 (20:48 +1300)]
Add ctags to Makefile
Miles Rout [Tue, 11 Sep 2018 08:45:27 +0000 (20:45 +1200)]
Update to C89
Miles Rout [Sun, 9 Sep 2018 00:46:46 +0000 (12:46 +1200)]
Add mandelbrot fractcal generator to examples
Miles Rout [Wed, 5 Sep 2018 10:23:25 +0000 (22:23 +1200)]
Further changes
Miles Rout [Wed, 5 Sep 2018 07:43:55 +0000 (19:43 +1200)]
Add README
Miles Rout [Wed, 5 Sep 2018 07:32:53 +0000 (19:32 +1200)]
Finish implement DFPU-17 instructions
Miles Rout [Wed, 5 Sep 2018 05:49:18 +0000 (17:49 +1200)]
Start implementing DFPU-17 instructions
Miles Rout [Wed, 5 Sep 2018 01:33:39 +0000 (13:33 +1200)]
dfpu17: Unpack instructions
Miles Rout [Tue, 4 Sep 2018 12:34:49 +0000 (00:34 +1200)]
Split status and load status
Miles Rout [Tue, 4 Sep 2018 12:20:40 +0000 (00:20 +1200)]
Update DFPU-17
Miles Rout [Tue, 4 Sep 2018 11:17:06 +0000 (23:17 +1200)]
Add DFPU-17
https://gist.github.com/milesrout/
4aa35266e2a3944d7f35
Miles Rout [Tue, 4 Sep 2018 09:45:58 +0000 (21:45 +1200)]
More stuff
Miles Rout [Sat, 1 Sep 2018 11:33:24 +0000 (23:33 +1200)]
Little update
Miles Rout [Fri, 31 Aug 2018 22:06:58 +0000 (10:06 +1200)]
Implement LEM1802 with SDL
Miles Rout [Wed, 29 Aug 2018 08:04:31 +0000 (20:04 +1200)]
Change more things
Miles Rout [Mon, 30 Oct 2017 21:50:14 +0000 (10:50 +1300)]
Ch-ch-ch-changes
Miles Rout [Sun, 29 Oct 2017 10:22:51 +0000 (23:22 +1300)]
Initial commit