LoginLogin

Virtual computer 2 is nearly complete. Suggestions before I publish?

Root / Talk About Programs / [.]

bluekrillCreated:
Virtual computer 2 is finished. I have not made a start on documentation yet, which will be particularly difficult because VC2 is a lot more complex than VC1. Anyway, here's a list of major changes:
  • Accumulator and Load/Store architecture hybrid. 16 registers (Accumulator + 12 storage + UDP + LDP + IP). Architecture is completely different from VC1, so VC2 is therefore incapable of running VC1 programs. You could code an emulator for VC1 on VC2 if you really needed to do that!
  • Main interface colour is now black rather than grey. Screen edges are indicated by a box around their perimeters.
  • More addressing modes. Instructions can now use immediate, register or memory addressing. Memory addressing is only available to a few machine instructions as it is a RISC architecture.
  • Screens are now 32*24 rather than 32*16.
  • The assembler is now much more sophisticated and is capable of stopping when syntax errors are made.
  • Debug mode shows more information.
  • VC2's code is highly modular and written so that adding new opcodes is easy (please credit me if you publish a modified VC2, thank you).
  • VC2's code is more efficient.
  • VC2 takes a shorter time to do the same task as VC1. This is mainly due to improved code density of VC2 machine code.
  • VC2 is much more user-friendly than VC1. It is easier to program and the debug features are easier to use and more powerful.
  • Just generally looks nicer.
I'm looking for suggestions about how to write the documentation, not only from users but also programmers of the virtual computers. I tried my best to write detailed and useful documentation for VC1, but I was guessing as to what would be useful for a potential VC1 programmer. Unfortunately, debug mode still requires the circle pad pro. Fortunately, all debug features (refresh mode, register view, instruction view and last memory access view) can be switched on and off. Rather than having hexadecimal and decimal on the two screens, only one format is displayed at once, which may be changed from the all-new debug menu. Please try VC1 and if you have any suggestions for the documentation of VC2, post them here! I'm trying to VC2 the best one yet. http://smilebasicsource.com/page?pid=1159 I've made a few VC2 programs: a BF interpreter, Conway's game of life and the all-new prime number finder. If you have any suggestions for programs I should bundle with VC2, post them here.