Commit Graph

29 Commits

Author SHA1 Message Date
BlackPhoenix
6a76f88579 [FIXED] LNEG opcode in CPU (CPU now SPAWNS :O) 2007-12-05 15:19:13 +00:00
BlackPhoenix
3fedd838cf [FIXED] Prob. mixed something up with SVN revision version numbers 2007-12-04 23:20:22 +00:00
BlackPhoenix
713a26e2c0 [FIXED] NMI not working in CPU (trigger lua error)
[ADD] ZASM now shows revisions of its main files
[ADD] ZCPU now returns its SVN revision number instead of version on CPUID. Useful for checking for working version of CPU
2007-12-04 23:18:02 +00:00
BlackPhoenix
7b58fd7575 THIS IS LAST STEP TO STABLE CPU RELEASE. SEVERAL BAD COMPILER BUGS FIXED
[FIXED] Compiler representing labels as "labelname:", not "labelname"
[FIXED] Compiler writing 2 values in memory instead of 1 when label is not yet defined. This corrupted label/pointer table, and led to Unknown Opcode (4), End of execution (2), Internal error (5) errors randomly, because it jumped to wrong data.
[FIXED] Compiler did not reset write pointer after second pass, therefore when ORG 0 was not present in program it wrote junk, resulting in usually Internal Error (5).
2007-12-02 14:57:15 +00:00
BlackPhoenix
ae6a32fcbc [FIXED] Probably fixed some compiler bugs
[FIXED] Reading from negative numbers returned error instead of port
2007-11-30 22:54:43 +00:00
BlackPhoenix
501313ba89 [FIXED] Rare number expected, got string error in CPU
[FIXED] FRND opcode not working correctly
2007-11-27 16:09:20 +00:00
BlackPhoenix
a8c307d8cd [FIXED] Rare NIL bug in CPU compiler
[FIXED] MCOPY opcode in CPU
[FIXED] Internal error not handled in 1 place
[FIXED] Timing system being buggy (triggering inf loops all the time)
[FIXED] Wired keyboard outputting bad values
2007-11-25 12:43:32 +00:00
BlackPhoenix
6277b07d41 [FIXED] CPU error when compiling/running wireos (segment thingy error) 2007-11-17 21:29:54 +00:00
BlackPhoenix
5aab7d0daa [FIXED] CPU errors on internal error (not reporting code as it should), fixed it (I be stupid) 2007-11-13 19:33:44 +00:00
BlackPhoenix
7475f0b7bd [FIXED] Address bus bug: standard memory would not work when connected to it
[ADDED] Address bus now shows rate of data which is transferred via it (in bytes per second/values per second)
>>>>>> 20% of CPU rewrite <<<<<<<
[FIXED] Made variable names nicer in CPU init.lua
[FIXED] Made CPU execution a little bit faster
[FIXED] Made compile process a little bit faster (actually it's more clean code, looks nicer)
2007-11-10 23:10:57 +00:00
BlackPhoenix
006b1cb990 >>>>>> WHOLE CPU ENTITY REVISIONS COMING <<<<<<
CPU Revised: 10%

[FIXED] CPU does much less server load (replaced IF's with opcode table)
[FIXED] Increased thinkrate from 0.05 to 0.025. Report if you get issues with it. CPU works smoother now.
2007-11-08 21:45:54 +00:00
BlackPhoenix
b7c644585d [ADDED] IN-GAME CPU EDITOR (BETA VERSION). It has some bugs, and I know most of them. But it works. It's purely clientside.
[FIXED] CPU no longer floods lua errors on internal error, but resets and reports error.
2007-11-03 16:44:17 +00:00
BlackPhoenix
d118a076c1 [FIXED] PCall error
[FIXED] Compile bandwidth set to 100 lines. Set it back to 500 if you wanna, but it lags less with 100.
[ADD] Support for long lines
[ADD] VGUI Progress indicators, showing percent, lines processed, and time left (for compiling and uploading)
[BETA] Beta preview of ZyeliosEditor
[FIXED] Changed "Load" to "Quick Load" (because of ZE)

[ADD] File support for EEPROM (BETA)
2007-10-24 14:11:05 +00:00
BlackPhoenix
35e7204e9a [FIXED] >>>>> WIRE CPU IS NO LONGER AFFECTED BY INFINITE LOOP PROTECTION <<<<<<
You can compile long programs now.
There is extra verbose mode for now, expect it to be removed soon.
[ADD] CPU shows how average upload speed, percent, and how much time left till upload finishes
[ADD] In singleplayer progress is done into chat window, in MP its in console (till VGUI)
[ANNOUNCE] Coming up: CPU extended protection, multitasking (native support!), and some more stuff.
2007-10-22 16:54:28 +00:00
BlackPhoenix
5936a3588f [FIX] Random fixes
[FIX] Compiler error (not accepting first letter after #, etc)
2007-07-08 19:36:08 +00:00
BlackPhoenix
1e78d44545 [ADD] Console screen missing field "Scroll Columns" (Address 2037, write how much rows to scroll, negative values OK)
[FIX] Digital screen fill and clear functions fixed
2007-06-17 08:10:54 +00:00
BlackPhoenix
c6c98203b0 [ADD] Flash memory. Permanent. Yes, now you can store stuff on your real HDD and carry it between games. Beta testing notice: report bugs to forums, upload or download are disabled
[FIX] Address bus, CPU, data port, data plug, data socket now have overlay text (thing that tells you what component it is)
2007-06-11 21:45:39 +00:00
BlackPhoenix
36b121db91 [FIX] Bug when you got "string expected, got nil" on program uploading
[FIX] Misc CPU fix (some of "attempted to to ariphmetic operation on string" errors)
[FIX] Address bus is saved by CPU now
2007-05-22 11:34:09 +00:00
BlackPhoenix
18e2a093bc [ADD] 128KB RAM (remove if causes problems, works fine for me)
[ADD] Temporary binary opcodes

[FIX] Reading and writing to non-existing port does not cause interrupt now
[FIX] Port bus failure is interrupt #8 now (instead of #10)
[FIX] Reading from non-existing port is now #10 instead of #8
[FIX] Increased max CPU frequency
[FIX] Fixed bug when setting frequency over limit does not set it to maximum allowed value
[FIX] Removed debug message in constant gate
[FIX] CPU now sends packets with more bandwidth and speed in SP (bandwidth only in MP). Uploading 70KB now takes 3-5 seconds
[TEMP FIX] Multiply "CPU Upload complete" messages
2007-05-18 20:08:04 +00:00
BlackPhoenix
36de8e0903 [ADD] Hi-speed in constant value gate
[ADD] Presets in address bus
[ADD] wire_cpu_dumpcode convar, set it to "enable" to enable dumping some debug information (pointers to functions and variables, code listing with corresponding byte addresses, and raw bytes dump)
[ADD] Supports filenames without extension now
[ADD] More information for user about CPU upload status
[ADD] CVAR: wire_cpu_packet_bandwidth (size of each packet, def. 50). It seems that it's reliable to use bandwidth of 100, but not tested in MP (twice the less time needed for uploading program)
[ADD] CVAR: wire_cpu_packet_rate_sp (data rate in SP, def. 0.1)
[ADD] CVAR: wire_cpu_packet_rate_mp (data rate in MP, def. 0.4)

[FIX] Parameters handled as strings
[FIX] Precision fixed (at least floating point digits precision, 14-15 digits actual precision)
[FIX] TPG now sets CMPR to address of error instead of next page address (you cant read cmpr anyway)
[FIX] CPU upload status not displaying in MP
2007-05-17 21:30:52 +00:00
BlackPhoenix
bea58e390a Fixed:
Various bugs. Serious bug in ZASM, prevented strings from compiling sometimes.
Added:
Relative jump opcodes.
NMI CPU ability (triggers interrupts like INT, but saves state)
Some new opcodes (NMIRET to exit NMI state, etc)
2007-05-16 19:53:47 +00:00
blackphoenix
3af165d7bc Add:
FCEIL opcode (ceiling)
Fixed:
Keyboard now shows "press alt to exit" message
2007-04-26 17:33:58 +00:00
blackphoenix
a8feea0183 Fix:
LOOP commands fixed
2007-04-24 16:04:39 +00:00
blackphoenix
c1533314bf Fixed:
Graphics bugs in console screen
TIMER opcode in CPU
2007-04-20 14:10:37 +00:00
blackphoenix
280fa411b6 End-Of-Day Update
Fixed:
POP operation fix (CPU)
Negative CPU bus addresses now lead to ports (unlocked)
2007-04-18 19:43:32 +00:00
blackphoenix
1b097fab94 Added:
Virtual Keyboard (Hi-Speed link only)
FLASH support in digital screen
Fixed:
CPU Compiler bugs
Numpad hi-speed link mode
Digital screen & console screen (partially)
Known bugs:
Console screen special registers may not work
Keyboard wont accept shift with anything other then letter
2007-04-16 17:15:22 +00:00
blackphoenix
4f32b835f3 Added:
Console Screen (30x18 dos-like console)
Address Bus (To join up to 4 address spaces)
Data Port (Aka old ports in CPU, but external)
Data Plug (Connects address spaces)
32KB RAM module
CPU Protected Mode (Simple)
CPU Interrupts (in PM)
Strings supported in DB macro.
Lots more I forgot.
CPU Frequency limit to 5000Hz
Fixed:
CPU is now V2.00, added lots and lots of opcodes, around 100 (but 8 are disabled due to some reasons)
Digital Screen (new inputs)
Wired Numpad (Hi-Speed link added, acts as buffer)
New examples for CPU
CPU supports writing to ROM, i.e. program will be restored each reset.
ZCPU & ZASM bugs.

Known bugs:
Address Bus settings do not save when duping
Console screen does not dupe (duplications of it result in things connected to old copy)
Removed in-game editor, reworking it into VGUI. You can always use notepad, or my editor, it might be posted on forum
Some other misc little bugs.
2007-04-12 19:16:47 +00:00
tad2020
06154bfa94 Black Phoenix: added "DB" macro 2007-03-23 18:23:38 +00:00
cyborgmatt
18addf9656 Added Black_Phoenix's CPUChip 2007-03-21 21:09:01 +00:00