News for hackers. Stuff that matters.
Re:Show HN: 1.5kb Microkernel for Ben Eater's 6502 Computer by that_jojo on Friday January 17, 2020 @01:37PM (#22077662)
I love, love, love Ben's videos, and this is an awesome project.

But to be as painfully pedantic as possible: can we please use the word 'monitor', here? Calling it a 'microkernel' really gives one the wrong initial impression.

Still, very neat. Now write a BASIC!

Re:Show HN: 1.5kb Microkernel for Ben Eater's 6502 Computer by fernly on Friday January 17, 2020 @09:53PM (#22081905)
> Now write a BASIC!

No doubt an educational project. However, all the versions of Microsoft 6502 BASIC were collected and annotated by a Michael Steil in 2008.

Docs: https://www.pagetable.com/?p=46

Source: https://github.com/mist64/msbasic

Re:Show HN: 1.5kb Microkernel for Ben Eater's 6502 Computer by localhost on Friday January 17, 2020 @11:22PM (#22082244)
Thanks for sharing this! I learned how to write floating point math routines from scratch by disassembling the ROMs on my PET and figuring out how they worked.

Nice to see the coefficients for the taylor series computation for sin() in the POLY_SIN table.

Re:Show HN: 1.5kb Microkernel for Ben Eater's 6502 Computer by kbrackbill on Friday January 17, 2020 @04:28PM (#22079545)
What does "monitor" mean in this context? Makes me think of either a display or https://en.wikipedia.org/wiki/Monitor_(synchronization) .
Re:Show HN: 1.5kb Microkernel for Ben Eater's 6502 Computer by stevesimmons on Friday January 17, 2020 @06:49PM (#22080942)
I learnt assembly language programming on a Vic20 in 1983, using this Vicmon machine code monitor:

http://commodore.software/downloads/download/211-application...

I like this explanation of "monitor", from https://www.atarimagazines.com/creative/v9n12/272_A_monitor_...

"The novice machine language programmer often does not have an assembler. Without an assembler, the programmer must assemble the program by hand, and then enter it by hand. Even a small program could require hundreds of POKEs followed by hundreds of PEEKs to verify that everything has been entered correctly.

A good monitor gets around these problems. It allows the programmer to examine memory locations sequentially. As each location is examined, the operator has the option of changing it or looking at the next one. A good monitor program also allows the operator to list a range of memory all at once. A third monitor feature allows the operator to move a range of memory to a new location in the computer. A final feature in a good monitor is the ability to execute and return from a machine language program."

Re:Show HN: 1.5kb Microkernel for Ben Eater's 6502 Computer by rzzzt on Friday January 17, 2020 @04:49PM (#22079808)
Re:Show HN: 1.5kb Microkernel for Ben Eater's 6502 Computer by chihuahua on Friday January 17, 2020 @04:37PM (#22079656)
I seem to recall from my C64 days that "monitor" was a term for a type of utility program that would let you view memory contents and load data into memory. That seems to be similar to what this project is doing.
Re:Show HN: 1.5kb Microkernel for Ben Eater's 6502 Computer by pjmlp on Friday January 17, 2020 @04:43PM (#22079729)
Monitor was the name given to lighweight OSes back in the day.

https://en.wikipedia.org/wiki/Resident_monitor

Re:Show HN: 1.5kb Microkernel for Ben Eater's 6502 Computer by _0ffh on Saturday January 18, 2020 @07:14AM (#22083999)
I think this explanation works quite well: https://www.c64-wiki.com/wiki/Machine_Code_Monitor
Re:Show HN: 1.5kb Microkernel for Ben Eater's 6502 Computer by that_jojo on Saturday January 18, 2020 @08:54AM (#22084446)