MBASIC: Difference between revisions

Content deleted Content added
Betacommand (talk | contribs)
cleanup & ref section
PEEKs, POKEs, and user functions: more accurate statement, MBASIC programs that didn't use machine-specific functions were easily portable between machines
Line 44:
For more complex operations, MBASIC allowed user-defined functions that could be called from a BASIC program. These were typically placed in a reserved area of memory, or POKEd into string constants, as a series of [[Machine language|machine codes]] (op codes). MBASIC also provided hardware <code>INP</code> and <code>OUT</code> instructions that read and wrote directly to the 8080 hardware input/output ports. This could be used to control peripheral devices, though on at least one common CP/M system, the Osborne 1, all I/O instructions were pre-empted for use by the system.
 
TheAny MBASIC programs that made use of <code>PEEK</code> and <code>POKE</code>, and of [[machine code]] user functions, madewere MBASIC programsnot non-portable between machines.
 
== Successors to MBASIC ==