Simulating an 8080. Is there a better way to do this?

Programming the 6502 microprocessor and its relatives in assembly and other languages.
BillG
Posts: 710
Joined: 12 Mar 2020
Location: North Tejas

Re: Simulating an 8080. Is there a better way to do this?

Post by BillG »

I can currently load and run MBASIC on top of FLEX, but the LOAD and SAVE commands do not work.

For some reason, LOAD does not simply open the file and read it sequentially.

I have not tried the FILES command yet, but off hand, do not think it will work either.
IamRob
Posts: 357
Joined: 26 Apr 2020

Re: Simulating an 8080. Is there a better way to do this?

Post by IamRob »

Did I misunderstand your earlier post that you could run MBasic under one of the simulators that works on a 6502? That is all I need. I don't need LOAD and SAVE to work in MBasic. I can program LOAD and SAVE into the simulator instead to work under Prodos, then just call the MBasic routine that runs the Basic program that gets loaded to memory.

I did this to Integer Basic as well. Use Prodos to load the IB program, then adjust some pointers to fool IB into believing it loaded a program into memory, itself. Then all I had to do was call the RUN subroutine.
Post Reply