5 ms·
I guess it isn't so simple [0] msg_no_basic db 'No ROM BASIC', 0Dh, 0Ah, 0 ;==============================================================
by molticrystal 3y ago
I guess it isn't so simple [0]
msg_no_basic db 'No ROM BASIC', 0Dh, 0Ah, 0
;=========================================================================
; int_18 - execute ROM BASIC
; Note:
; Prints an error message since we don't have ROM BASIC
;-------------------------------------------------------------------------
int_18:
mov si,msg_no_basic
call print
.1:
hlt
jmp .1
[0] https://github.com/skiselev/8088_bios/blob/dfff4fddc8ea73c8ac27435238449fb09b9ef252/src/bios.asm#L1211= https://github.com/skiselev/8088_bios/blob/dfff4fddc8ea73c8a...
- deaddodo 3y agoIt was common for later BIOSes to not include the BASIC ROM: https://en.m.wikipedia.org/wiki/BIOS_interrupt_call https://en.m.wikipedia.org/wiki/BIOS_interrupt_call Not ideal, but not a deal breaker. And it might go against Microsoft's IP (not sure, personally).
- WalterBright 3y agoIt's not that hard to write a BASIC interpreter.
- snvzz 3y agoYou're welcome to do it.
- WalterBright 3y agoI've actually thought of doing it. But I'm pretty committed as CEO of the DLF.
- nicman23 3y agoi love people that shitpost here can be C level execs in massive corps
- WalterBright 3y agoThe DLF will be breaking ground on its massive corporate HQ campus any day now.
- cduzz 3y agoI suspect he's referring to the "D Language Foundation[1]" Mr. Bright, thank you for Empire. Some of my earliest tinkering memories are of upgrading my 5150 to have a V20 CPU and being somewhat pleased that map generation took somewhat less time. [1] https://dlang.org/foundation/ https://dlang.org/foundation/
- WalterBright 3y agoYou're welcome! I enjoy hearing from people who enjoy the game!
- RcouF1uZ4gsC 3y ago> It's not that hard to write a BASIC interpreter. If you are Walter Bright and write C++ compilers for fun.
- WalterBright 3y agoIf you only knew how trivial Basic looks after implementing a C++ compiler :-) The challenges would be: 1. fitting it into 32K of ROM 2. figuring out the interface to the cassette player and the interface to other software that relies on the Basic interpeter 3. testing it
- deaddodo 3y agoI have no idea where it was implied in that comment that it was difficult. I said that it wasn't required to be considered a valid BIOS, as commercial/alternatives did the same.
- userbinator 3y agoSomeone could take this and try to make it ROM-able in order to "complete" the BIOS: https://github.com/microsoft/GW-BASIC https://github.com/microsoft/GW-BASIC
- Dwedit 3y agoMIT license... yep, you can totally use it.
- molticrystal 3y agoTips on building: https://www.os2museum.com/wp/gw-basic-source-notes/ https://www.os2museum.com/wp/gw-basic-source-notes/
- HeckFeck 3y agoIf one called INT-18 today, would we hit a similar stub in a modern PC BIOS?
- Narishma 3y agoI don't remember anybody other than IBM having ROM BASIC in their PC clones.