2c8498cf87I managed to break the test system... somehow. Fix.
David Given
2019-06-17 00:52:09 +0200
402468f6fdBugfix the CP/M FCB parser, and add a test for it.
David Given
2019-06-17 00:41:49 +0200
6531850462Oops, forgot to turn the other plats on before checking in.
David Given
2019-06-17 00:40:01 +0200
97e6d8f66aUpdate README.
David Given
2019-06-16 20:10:13 +0200
2b013c34dcSome byte shaving; lseek returns the offset.
David Given
2019-06-16 20:04:07 +0200
01fdfef8c0Merge from trunk.
David Given
2019-06-16 19:50:53 +0200
50dca8b954First at-least-slightly working version of the CP/M read/write stuff. Not as bad as I expected, but far too big.
David Given
2019-06-16 19:04:17 +0200
3131dc9915Partially working port of stdio to CP/M. I'm not sure this will work; it's getting way too complicated (stdio is horribly subtle). I think I need to rethink things.
David Given
2019-06-15 22:22:01 +0200
Merge pull request #196 from ccodere/carl-ansi-part1
David Given
2019-06-15 22:11:49 +0200
0223069d29Cleanup of modified code fixing several overflow checking issues.
carl
2019-06-16 01:27:49 +0800
3133141a08Interpreter fixes according to EM testsuit.
carl
2019-06-16 01:20:53 +0800
55eb19acf8* Fix merge conflict issue.
carl
2019-06-16 01:19:15 +0800
ef246bd8e2Closes#193 (signed integer shift left does not correctly check overflow in the interpreter when shifting by 0 bits), Closes#192 (integer division overflow is not handled in the interpreter and crashes it) and closes#194 (lar instruction does not accept negative bounds in interpreter when doing array index checking).
carl
2019-06-16 00:42:48 +0800
1ec55dfc6ebugfixes to make pascal compiler work.
carl
2019-06-15 23:46:18 +0800
f2c8e42f95shift right cannot cause an overflow.
carl
2019-06-15 23:45:42 +0800
014c151091bugfixes to make pascal compiler work.
carl
2019-06-15 23:46:18 +0800
9fc3102b4dshift right cannot cause an overflow.
carl
2019-06-15 23:45:42 +0800
08b9482ac7Merge remote-tracking branch 'upstream/default' into default
carl
2019-06-15 23:53:35 +0800
1387c8713bNow that printf and scanf contain no FILE*-specific code, we can move them into core (and split them up).
David Given
2019-06-15 13:53:20 +0200
9109d7af7fFirst stage in modularising FILE*. Refactor so that printf/scanf don't rely on FILE* innards; allow plats to replace the entire emulated FILE* system.
David Given
2019-06-15 13:07:10 +0200
Merge pull request #195 from davidgiven/dtrg-cpm
David Given
2019-06-11 23:38:29 +0200
784fc67596Alignment issues mean we can't access 16-bit CP/M structure elements directly.
David Given
2019-06-11 22:33:25 +0200
0607529df2Miscellaneous bugfixed and renamings.
David Given
2019-06-11 21:33:57 +0200
3fe9a05adcIgnore .vscode directory.
David Given
2019-06-11 21:33:23 +0200
a804375560Miscellaneous byte shaving; you can now choose whether or not you want the CCP overwritten or not, and cpm_exit() does the right thing.
David Given
2019-06-11 20:32:00 +0200
3feb79ad0cSimplify the .trp API to make it a bit smaller.
David Given
2019-06-11 20:02:03 +0200
4e90de00e9Don't pull in all the trap handlers every time.
David Given
2019-06-11 19:47:42 +0200
f58d7e7d30Add missing file.
David Given
2019-06-11 19:40:46 +0200
6948e7cbe1Allow building one plat at a time.
David Given
2019-06-11 00:12:10 +0200
48a9c48f56Generate traps procedurally. For some reason they always keep getting pulled in, though...
David Given
2019-06-11 00:12:00 +0200
ec2ea1feffAdd missing file.
David Given
2019-06-10 23:57:43 +0200
d0967e683bExtend the CP/M libsys with a full set of (hopefully correct) 2.2 BDOS calls.
David Given
2019-06-10 23:54:23 +0200
3f938d651bEM requires 2-alignment in structures, sadly.
David Given
2019-06-10 18:33:04 +0200
48480dcae5Fix a tiny ackbuilder bug where you can't set properties to false.
David Given
2019-06-10 16:12:36 +0200
b1f6d5d827ANSI C compilation fixes
carl
2019-05-14 23:22:38 +0800
9bb69bbb98Fix several compiler warnings by adding braces
carl
2019-05-14 23:21:19 +0800
cb65e6426cMemory overflow bugfix
carl
2019-05-14 23:14:59 +0800
53d2894ed1ANSI C conversion.
carl
2019-05-11 01:18:01 +0800
21e15965ccANSI C conversion and add procedure declarations.
carl
2019-05-11 01:17:40 +0800
472654c366ANSI C conversion and add procedure declarations.
carl
2019-05-11 01:17:24 +0800
0301827482ANSI C conversion.
carl
2019-05-11 01:15:51 +0800
970e7da896Adapt to new object API
carl
2019-05-11 01:15:18 +0800
16f89747b1ANSI C conversion.
carl
2019-05-11 01:14:54 +0800
fa2859df79ANSI C conversion.
carl
2019-05-11 01:14:01 +0800
dfefbcae86ANSI C conversion.
carl
2019-05-11 01:13:43 +0800
f9916fb680Fix call to fwrite with proper parameters.
carl
2019-05-11 01:12:48 +0800
de45c1036dANSI C conversion
carl
2019-05-11 01:11:54 +0800
708c1ba1b0ANSI C conversion
carl
2019-05-11 01:11:26 +0800
e6ba8034f0ANSI C conversion
carl
2019-05-11 01:11:17 +0800
cefebdb5dbANSI C conversion
carl
2019-05-11 01:11:03 +0800
628dcb3cbfANSI C conversion
carl
2019-05-11 01:10:47 +0800
04cb629159ANSI C conversion
carl
2019-05-11 01:10:12 +0800
e8243402beMove to use C structures instead of typedef to align with other ACK compilers and to avoid forward declaration issues with include files.
carl
2019-05-11 01:09:03 +0800
72dcbea3c6Add missing C compiler command line option.
carl
2019-05-11 01:07:33 +0800
e2d2c11a6eFix some compiler warnings.
carl
2019-05-11 01:07:00 +0800
e533626413- Remove rcsid tag. + ANSI C conversion.
carl
2019-05-11 01:06:36 +0800
82fddaab77Fully working implementation for C compiler front-end.
carl
2019-05-11 01:05:34 +0800
7a642d6df3Fix some groff warnings. adapt mkdispatch to ANSI C.
carl
2019-05-11 01:05:02 +0800
ccfd8a3e18rename rd_long/wr_long to rd_int4/wr_int4 for consistency. Align declaration and definition name of parameters and adapt man page accordingly.
carl
2019-05-11 01:03:36 +0800
bb6540c5f4Adapt man page with correct prototype information.
carl
2019-05-11 01:01:52 +0800
3466e84f46ANSI C conversion of code, adapt man pages accordingly. Some autodocs added.
carl
2019-05-11 01:01:21 +0800
8b290cf68aANSI C conversion of code, rename some parameters to better names and adapt man page accordingly.
carl
2019-05-11 00:57:58 +0800
add131b6f9ANSI C conversion of code, rename some parameters to better names and adapt man page accordingly.
carl
2019-05-11 00:56:13 +0800
dc269e57d8ANSI C conversion of code and adapt man page accordingly.
carl
2019-05-11 00:53:52 +0800
5bb20bdb9eAdd init/free functions and rename parameters.
carl
2019-05-11 00:52:40 +0800
7cb2b3de7fFix syntax mistake in man page.
carl
2019-05-11 00:51:42 +0800
2330d35ade* Fix compilation warning.
carl
2019-05-11 00:49:10 +0800
8d6cfa7701Fix possible buffer writer overflow
carl
2019-03-31 01:14:49 +0800
715717a4f6Read beyond buffer bugfix.
carl
2019-03-31 00:53:09 +0800
4f2c482416Buffer overflow memory errors.
carl
2019-03-31 00:52:37 +0800
9bc3ffe6ecBuffer overflow memory errors.
carl
2019-03-31 00:52:27 +0800
496795f0cfFix memory overflow error.
carl
2019-03-26 00:59:16 +0800
a09e40cba3Fix memory overflow error.
carl
2019-03-26 00:58:56 +0800
415ec163a7Fix tabs.
carl
2019-03-26 00:58:36 +0800
7973e87b2fAdditional check with NULL or empty string (now same behaviour as POSIX version)
carl
2019-03-26 00:58:14 +0800
78899705d5Bug of fseek and wrong setting of position.
carl
2019-03-25 02:20:50 +0800
41fd51eeeaRevert change.
carl
2019-03-25 01:41:04 +0800
efecff78b9Add function prototypes.
carl
2019-03-25 00:14:38 +0800
9979fb37d2Add function prototypes.
carl
2019-03-25 00:14:27 +0800
82cdc096b0Add function prototypes.
carl
2019-03-25 00:14:08 +0800
f161a5867dAdd function prototypes.
carl
2019-03-25 00:13:56 +0800
a6120c220eFix buffer overflow issue.
carl
2019-03-25 00:13:42 +0800
dcc2be5e8cAdd function prototypes.
carl
2019-03-25 00:12:21 +0800
5295049b16Add function prototypes.
carl
2019-03-25 00:12:07 +0800
1636b9b52dAdd function prototypes.
carl
2019-03-25 00:11:55 +0800
180d3388d6Add function prototypes.
carl
2019-03-25 00:11:43 +0800
98c5d1f0eeAdd function prototypes.
carl
2019-03-25 00:11:31 +0800
ef3a6b3cc4Add function prototypes.
carl
2019-03-25 00:11:19 +0800
053c509fc9Add function prototypes.
carl
2019-03-25 00:10:58 +0800
2f84fc92cfAdd function prototypes.
carl
2019-03-25 00:10:45 +0800
2dd0d0f81bAdd function prototypes.
carl
2019-03-25 00:10:32 +0800
143da61d13Add function prototypes.
carl
2019-03-25 00:10:20 +0800
dac3d0b10cAdd function prototypes.
carl
2019-03-25 00:10:10 +0800
a915b76300Fix crash upon error.
carl
2019-03-25 00:09:42 +0800
98d8505c6earch.h flag fixing
carl
2019-03-25 00:07:43 +0800
8457ec6791Object module now uses ANSI C I/O
carl
2019-03-25 00:07:12 +0800
97cb247b39Merge remote-tracking branch 'upstream/default' into default
carl
2019-03-25 00:04:41 +0800
5ec9de401d* More ANSI C portability fixes.
carl
2019-03-24 23:53:13 +0800
f7e4fac687Revert "* Adapt to more ANSI C"
carl
2019-03-24 23:39:04 +0800