? Bacon Emu (Basic Assembly Configurable O-something N-something Emulator) (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Bacon Emu (Basic Assembly Configurable O-something N-something Emulator)

  • #1 ✎ 302 spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength (Name definitely not final) I've come up with all the major ideas to put this emulator together and make it work and all I need to do is do that. The emulator will be configurable with an external config file which has it's own script for more functionality such as scripting for adding emulated peripherals or defining cpu hardware which is unique in some processors(?). Here's how it'll work: 1. Basic program setup stuff (vars, defs, etc.). 2. Load config file and configure the emulator according to the scripts if it exists. If it doesn't create a new config based on default values and continue with the default values. 3. Load the config-designated INSTRSET.TXT file (this contains all the instructions the cpu will have available). 4. Load the config-designated DRIVE.DAT file (virtual disk storage). 5. Load the ROM with the config-designated BIOS.DAT file (an optional machine code script which manages the hardware during startup and loads an operating system from disk, can be reconfigured for a custom BIOS or replaced with a disk-based one, if you're weird). 6. Begin the fetch/decode/execute cycle. 7. Because there are no instructions in the RAM the first instructions from the ROM are loaded into the RAM. The instructions then take over and load more instructions from the ROM which perform system checks and load any OS from the disk. The default BIOS will simply halt and display an error if there is no OS to load to the RAM. 8. Full control is given to the user/OS once all the checks pass. The configuration file will make this emulator very customizable. The RAM size, ROM size, bit width, clock speed, drive file name, BIOS file name, and instruction set file name can all be changed. Care will have to be taken to be sure the chosen bit width can support the chosen instruction set. The fetch/decode/execute cycle will remain as an not configurable core feature. The instruction set will be loaded into a string array which is compared with the fetched byte(s) during the decode section of the cycle. Custom configuration scripts in the config might be a feature to control even more things but what things I'm not sure, maybe to define peripheral devices and ways to load additional drives? Ideas and improvement ideas for the emulator I'm about to code are what this thread's for. Posted Edited by spaceturtles
  • #2 ✎ 408 UnderCake Halloween 2017 Contest Runner Up I placed 2nd in the SmileBASIC Source Halloween 2017 Contest! Programming Contest Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength First Year My account is over 1 year old Website Basic Assembly Configurable Operation Network (better then "something" eh?) Posted Edited by UnderCake
  • #3 ✎ 302 spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength
    Basic Assembly Configurable Operation Network (better then "something" eh?)
    Yeah that's better lol but it's not exactly a network... Basic Assembly Configurable Openly N-something emulator...? I guess I could try Bacom Emulator, Basic Assembly Configurably Open Machine emulator. Acronyms aren't things I'm good at.
    Posted
  • #4 ✎ 1619 12Me21 Head Admin Second Year My account is over 2 years old Website Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Basic Assembly Configurable Oh wait No one cares Posted
  • #5 ✎ 302 spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength
    Basic Assembly Configurable Oh wait No one cares
    Apparently you care enough to post that.
    Posted
  • #6 ✎ 1619 12Me21 Head Admin Second Year My account is over 2 years old Website Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Anyway N is a very difficult letter to fit in an acronym. There just aren't any good words that start with N [citation needed]. You might have to cheat by using the second letter of a word or something. Posted
  • #7 ✎ 408 UnderCake Halloween 2017 Contest Runner Up I placed 2nd in the SmileBASIC Source Halloween 2017 Contest! Programming Contest Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength First Year My account is over 1 year old Website I'd like to see N as a second letter fit in nicely~ Posted
  • #8 ✎ 302 spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength I found a random website with an acronym generator and messed with that for a while and came up with Ascribe (ASsembly/Computer Reconfigurable Basic Emulator). The definition of ascribe flows well with the configurableness of the emulator so I think that will make a nice temporary name. RESCALE (REconfigurable Simple Computer/AssembLy Emulator) BRACE (Basic Reconfigurable Assembly/Computer Emulator) So far I've finished the config file loading/generation/reading part. Next up: the fde cycle Posted
  • #9 ✎ 554 IAmRalsei Forum Leader Hidden Achievements First Year My account is over 1 year old Website Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength
    I found a random website with an acronym generator and messed with that for a while and came up with Ascribe (ASsembly/Computer Reconfigurable Basic Emulator). The definition of ascribe flows well with the configurableness of the emulator so I think that will make a nice temporary name. RESCALE (REconfigurable Simple Computer/AssembLy Emulator) BRACE (Basic Reconfigurable Assembly/Computer Emulator) So far I've finished the config file loading/generation/reading part. Next up: the fde cycle
    What's the website?
    Posted
  • #10 ✎ 302 spaceturtles Video Games I like to play video games! Hobbies Avatar Block I didn't change my avatar for 30 days. Website Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Search "acronym generator" with google and it should be the first result. Posted