fsword7 / mse

MSE - Multi-System Emulator
15 stars 0 forks source link

MSE command template #1

Open guanhao145 opened 3 years ago

guanhao145 commented 3 years ago

Hi Timothy,

I am learning alpha risc architecture and developing a processor now. I need a converter that converts assembly code to machine code to test my processor. Then I found your mse on the DEC Alpha Emulation Webpage. I hope your mse can help. Or please let me know if there is a better option. Right now, I am testing your mse and wondering if there is an instruction with command templates. I’m eager to receive your feedback.

Current status: successfully built target mse with some warnings.

Bug fixes:

  1. /src/emu/engine.cpp:680 (680-697, 705) (error: invalid use of non-static member function): { "create", &SystemEngine::cmdCreate, nullptr },
  2. /src/emu/console.cpp:80 (80, 115) (error: invalid conversion from ‘const char’ to ‘char’): fmt::printf("Script: %s\n", fname.string());

Environment: Ubuntu_64-bit_20.04.2.0_LTS g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 cmake version 3.20.5 fmt: https://github.com/fmtlib/fmt.git

Thanks, Guan

fsword7 commented 3 years ago

Ok, what command line did you try to enter? Mine works fine on Windows 10 with MSYS2.

guanhao145 commented 3 years ago

Basically, I don't know the function. what does it do? What are the input and output? how to specify mse to alpha? do you have a test sample? Thanks.