Commit Graph

82 Commits

Author SHA1 Message Date
Martin Haye
1dbd41d79e Workaround for PLASMA string thing. 2018-03-28 16:36:52 -07:00
David Schmenk
1528d5f7aa Always output ENTER/LEAVE for functions (no zero locals optimization) 2018-03-28 13:00:58 -07:00
David Schmenk
d6c870112c Revert "Fix for strings in non ENTER/LEAVE functions"
This reverts commit fb0ef9848b.
2018-03-28 12:57:58 -07:00
David Schmenk
fb0ef9848b Fix for strings in non ENTER/LEAVE functions 2018-03-27 10:31:28 -07:00
Martin Haye
cf03ab7f60 Fixes for PLASMA 1.1 2018-03-15 08:02:21 -07:00
David Schmenk
a43083dac7 Make sure LC bank 2 is write enabked 2018-03-15 06:48:37 -07:00
David Schmenk
6205d1310f Upgrade to PLASMA 1.1 compiler/VM 2018-03-14 13:58:23 -07:00
Martin Haye
4d7e33c061 Upgraded PLASMA from Dave. 2017-12-26 13:11:46 -08:00
David Schmenk
ed1e7ef9d7 enable strict parameter/return count checking 2017-12-13 14:56:15 -08:00
David Schmenk
f27a1b89c7 Reset Y instruction pointer after call 2017-12-05 13:50:07 -08:00
Dave Schmenk
fe3a592e25 Reduce stack usage during CALL/RET 2017-12-04 21:42:52 -08:00
Martin Haye
f6069c576d Integrated new PLASMA compiler, including delicious ternary operator. 2017-11-29 09:21:24 -08:00
David Schmenk
dc790dc566 Update compiler with ternary op support 2017-11-25 12:53:00 -08:00
Dave Schmenk
e90a95f944 Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-11-11 06:52:19 -08:00
Dave Schmenk
cf436209ee Don't mess with interrupts in VM (work needed for unenhanced //e) 2017-11-11 06:51:30 -08:00
Martin Haye
77b222dfa6 Version number fix. Added ability to put font.bin alongside world.xml. 2017-11-09 07:41:41 -08:00
Martin Haye
8c46ccc34d Messing around with lambda functions. 2017-08-10 07:31:31 -07:00
David Schmenk
ebe9c8ea14 New portable VM and fix parse typo 2017-08-09 13:19:57 -07:00
David Schmenk
2ec914aec5 Update test case 2017-08-09 13:15:46 -07:00
David Schmenk
cfe372cb39 Correct DEFCNT value for lambda functions 2017-08-06 20:53:29 -07:00
Martin Haye
c603f9207e New recompliation of PLASMA compiler. 2017-08-04 10:19:24 -07:00
Martin Haye
6f5a504a50 Merge branch 'newplasma' of https://github.com/badvision/lawless-legends into newplasma 2017-08-04 10:16:23 -07:00
David Schmenk
6731288a29 Fix lambda ENTER frame size 2017-08-04 10:12:55 -07:00
Martin Haye
0a077a83e2 Rebuilt plasma compiler for new features. 2017-08-04 08:26:46 -07:00
David Schmenk
6b8e02db98 PLASMA compiler update 2017-08-03 12:15:24 -07:00
Martin Haye
5efd81102f Fixed CB opcode (again) 2017-08-02 10:20:22 -07:00
David Schmenk
7b8637b773 Fix CFFB BIT operation with CB 2017-08-02 09:31:10 -07:00
David Schmenk
131bcddcc4 Add new CFFB opcode in anticipation of new compiler optimizations 2017-07-29 07:38:41 -07:00
Martin Haye
2da46eacb4 Recompiled PLASMA to pick up Dave's recent fix. 2017-07-10 10:19:34 -07:00
Dave Schmenk
176a602bfa Fix dereference off of array 2017-07-10 10:09:25 -07:00
Martin Haye
4a44aee1f8 Some fixes on the inv/stat screens. 2017-06-30 09:30:29 -07:00
Martin Haye
f56fb140d0 Jar'd new version of PLASMA. 2017-06-09 06:57:49 -07:00
Martin Haye
7ba5bcb3e7 Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-06-09 06:44:10 -07:00
Dave Schmenk
1cb302f75d Fix predef and asm with parameters & multiple predefs per line 2017-06-07 19:28:13 -07:00
David Schmenk
1f6ed64793 Optimize NOT before branch true/false 2017-06-07 17:43:28 -07:00
David Schmenk
082f10424e Branch optimizations 2017-06-07 16:20:08 -07:00
David Schmenk
4343292057 Add warning for all mismatched funtion parameter counts 2017-06-07 10:16:13 -07:00
David Schmenk
7ee5a3d524 Implement better constant string management 2017-06-07 10:07:14 -07:00
Martin Haye
9d5acd1006 Updated PLASMA compiler and VM. 2017-06-07 07:01:50 -07:00
David Schmenk
3f880ecb67 Fix pointer, pointer constructs and quoted string scan_rewind 2017-06-06 12:54:19 -07:00
dschmenk
1e031d6de0 Update PLASMA VM and compler to pre-1.0 2017-06-04 07:33:44 -07:00
dschmenk
52ec55babe Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-06-04 07:26:05 -07:00
dschmenk
640b305401 VM updates for 1.0 2017-06-04 07:25:20 -07:00
David Schmenk
a38667e704 Update PLASMA VM and compiler to pre-1.0 2017-06-03 15:51:48 -07:00
Martin Haye
1cc3d8b67a Can now buy items. 2017-03-29 09:36:14 -07:00
dschmenk
be928b081d Check for existing string in pool before copying CS string from aux mem 2017-03-27 08:53:01 -07:00
Martin Haye
8ff169d1e6 Now loading and successfully relocating ProRWTS and PLASMA. 2017-01-04 09:17:13 -08:00
Martin Haye
2f35ee17f0 Stripped out Plasma VM 'cmd' loading, in anticipation of dedicated LegendOS loader. 2017-01-02 13:52:35 -08:00
badvision
6d61e2a75d Switching my source over to Windows 10 changed these file modes -- shouldn't really affect anyone. If it does we can revert this commit. 2016-10-08 13:35:27 -05:00
Martin Haye
d21b269843 Eliminated special patching of PLASMA accessors, now that it's finally decided that PLASMA code doesn't need to use the aux LC bank (it's used by texture expander instead). 2016-08-04 08:30:39 -07:00