68 Commits

Author SHA1 Message Date
Brent O'Neil
ab5810c585 Unhardcoded codeSegmentOffset and the hardware offset.
Changed Interrupt(int hw, int offset, boolean retry)
to	interrupt(boolean hw, int offset).
Removed no operand overload of int.
Added org_hwIVoddset to config.properties
2017-12-31 13:19:04 +11:00
Brent O'Neil
3db05478c1 Comments! 2017-12-30 08:54:23 +11:00
Brent O'Neil
974b00aa7a Renamed intr to iret to match 8086 mnemnonics 2017-12-30 08:29:53 +11:00
Brent O'Neil
ff4a3d6f20 Fixed some whitespace nonsense from a merge. 2017-12-30 03:07:28 +11:00
Brent O'Neil
fedd4bb779 Merge branch 'master' of https://github.com/simon987/Much-Assembly-Required into Interupts 2017-12-30 02:10:14 +11:00
Brent O'Neil
1b18426c5c Added the Interupt (int <imm>) and Return from Interupt (intr) command.
Interupt pushes the flag register and the instruction pointer, then resets
execution to 0x0200 + (imm)*2.

Return from interupt pops the flags back and sets the ip. Returning execution
to the interupting code.

Implemented using a CPU hook that can be used to later implement interupts generated
from hardware, or for errors like divide by 0.
2017-12-30 02:02:18 +11:00
simon
45ec7191b4 Added string literals support for the assembler 2017-12-29 08:28:04 -05:00
simon
d9732557fc Removed unused files 2017-12-28 23:08:05 -05:00
simon
eced45a358 Merge remote-tracking branch 'origin/master' 2017-12-28 22:39:22 -05:00
simon
0fee35baec Fixes #53 2017-12-28 22:35:49 -05:00
Simon Fortier
729debb1a3
Fixes #56 2017-12-28 20:41:02 -05:00
simon
2fb7d2f73e Fixes #54 2017-12-28 20:33:57 -05:00
simon
dab5cab602 Updated incorrect documentation 2017-12-28 19:29:48 -05:00
simon
e1d0833c3a Recovering accidentally deleted file 2017-12-28 17:40:05 -05:00
simon
8a980fec6a Very small modifications for keyboard hardware 2017-12-28 16:51:03 -05:00
simon
e96b7982c8 Fixed Biomass pickup problem 2017-12-28 15:33:28 -05:00
simon
21ec4ae704 Cubot are now passable + Bug fixes 2017-12-28 13:34:11 -05:00
Simon Fortier
690b7e8d31
Merge pull request #47 from ScarySpider/Basic-Maven-fixes
Basic maven fixes
2017-12-28 09:57:03 -05:00
simon
d28ca387d0 Fixes ConcurrentModificationException errors 2017-12-28 09:17:31 -05:00
simon
f2b6387cc9 Fixes #50 2017-12-28 09:15:19 -05:00
simon
f3b20b3a2d Fixes #51 2017-12-28 08:43:13 -05:00
Simon Fortier
f4fd3866eb
Merge pull request #48 from cooprocks123e/bugfix
Modified "RET imm" to add imm + 1 to the SP instead of imm
2017-12-27 19:20:42 -05:00
Cooper Harasyn
965ca91cb6 Modified "RET imm" to add imm + 1 to the SP instead of imm 2017-12-27 19:18:10 -05:00
Jacob Swehla
556f443ec2 Now outputs .jar files to /target
-Server jar outputs to /target/
-All other jars output to /target/plugins
2017-12-27 17:52:40 -06:00
Jacob Swehla
3158dd75ea Fixed Maven
Maven now builds correctly, may need further refinement.
2017-12-27 15:36:08 -06:00
Simon Fortier
1b6927c575
Merge pull request #41 from cooprocks123e/bugfix
Fixed typo in SubInstruction
2017-12-27 15:55:30 -05:00
Cooper Harasyn
3bd34bfcba Fixed typo in SubInstruction 2017-12-27 15:52:00 -05:00
simon
2e9248ea2e Factory Integration, NPC improvements. #19 & #31. v1.3a 2017-12-24 14:26:19 -05:00
simon
4f1342593f Added Factory object #31 2017-12-23 12:17:36 -05:00
simon
3548928218 Improved World update performance. Decreased save file size. Added Harvester NPC #19. 2017-12-16 15:40:03 -05:00
simon
cd41db9e58 Added Passive energy source for Cubots #14 2017-12-16 11:35:04 -05:00
simon
597118bd07 Removed files that I accidentally added 2017-12-09 10:52:13 -05:00
simon
9dd9b45d2d Added Day/Night Cycle #14 2017-12-09 10:50:37 -05:00
Simon Fortier
9597a80edf
Merge pull request #30 from StevenBerdak/master
Keep backup of old saved files #8
2017-12-08 18:31:16 -05:00
Steven Robert Berdak
d24363fd82 Added file management
.
2017-12-04 17:25:55 -08:00
simon
be45979ed0 Added biomass respawn feature #22 2017-12-02 10:26:59 -05:00
simon
29cac77e79 Changed maven artifactID names 2017-11-22 17:05:50 -05:00
simon
6be2a496c6 Added maven framework support. Started working on NPCs #19 2017-11-21 20:22:11 -05:00
simon
12db25e726 Changed byte array in Memory to char array (+60% performance improvement) 2017-11-18 22:23:32 -05:00
simon
d004386b7b Bug fixes for various operands 2017-11-18 22:21:14 -05:00
simon
e09d2c1b16 Bug fix with [reg] as source operand 2017-11-16 18:41:57 -05:00
simon
c703dec3cf CPU execution time costs energy #16 2017-11-15 12:24:01 -05:00
simon
8701007ad9 Bug fixes related to floppy drive v1.2a 2017-11-14 20:58:07 -05:00
simon
cfb8050cee Added basic floppy drives #3. 2017-11-14 17:25:12 -05:00
simon
da7d050661 Universe warp around and maximum size #9 2017-11-13 22:45:19 -05:00
simon
3ee9b4be95 Added SAR Instructions #7. 2017-11-13 21:39:16 -05:00
simon
42421b7710 Added RCR/RCL Instructions #7. 2017-11-13 20:08:07 -05:00
simon
9979986c6a Added SAL Instruction #6. Added ROL/ROR Instructions #7. 2017-11-13 17:51:16 -05:00
simon
c5abe2efc5 Added ROL/ROR Instructions #7 as well as JC/JNC and JO/JNO instructions 2017-11-13 11:28:06 -05:00
Simon Fortier
fdfa568e07
Update README.md 2017-11-12 13:07:39 -05:00