199 karma · joined Jul 21, 2015 (11y ago) · 35 submissions
comment 3mo ago · link · parent
comment 7mo ago · link · parent
syöte olkoon vakiosyöte
yritä
tee syötteen kullekin alkiolle:
käsittele(alkio)
paitsi poikkeustilanteessa liukulukuylivuoto:
kirjoita(virhetulosteeseen, "liukulukuylivuoto")
muutoin:
kirjoita(virhetulosteeseen, "odottamaton poikkeus")comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
CAT CATalogue - output the contents of current directory
RM to Raster Memory - load contents of named file in framebuffer
MV Make Virtual - map the file into memory and output the address
LS Load System - attempt to reboot using the named file as the kernel
CD Create Directory - self-explanatory
SH System Halt - immediately stop all processing
...and so on.comment 1y ago · link · parent
So, after typing that in and probably SYSing (C=64 BASIC command for executing machine code from arbitrary memory location) to some address, it did print out a two-digit (eight-bit) hex checksum after every BASIC line I entered on the C=64 and the program listing in the book had the correct checksums for every line, so spotting errors was more or less instantaneous.
This stuff brings memories.
FOR I=40960 TO 49152:POKE I,PEEK(I):NEXT I
POKE 1,54
From top of my head; loop through the BASIC interpreter area, reading byte by byte with PEEK and POKEing those bytes back to the same addresses. Sounds nonsensical? Not so, because the C=64 does have full 64 kB of RAM, but some of it is overlapped by ROMs. What happens here is that you're reading from ROM but writes always go to RAM, so you're copying the BASIC interpreter from ROM to RAM. After that, the POKE statement turns off the ROM overlap and the interpreter is now run from RAM, so you can edit it live - and obviously cause all sorts of interesting crash situations.It sure did help later with career in IT to have understood this kind of stuff at age of around ten.
comment 1y ago · link · parent
Once I get this done, I get back to the actual project of a 2.11-BSD based handheld computing appliance.
Also there is this thing called "day job".
comment 1y ago · link · parent
comment 1y ago · link · parent
Anecdote aside, it certainly doesn't hurt to be able to debug things without a debugger if it comes to that.
comment 1y ago · link · parent
char* cat, dog; /* one char pointer, one char */
char *cat, *dog; /* two char pointers */comment 10y ago · link · parent
Most horses that are put down would be perfectly fine for human consumption, but slaughterhouses do not buy them for the aforementioned reason. The primary consumer of horse meat in Finland is the sausage industry, and they buy cheap South American meat by ton.
comment 10y ago · link · parent
Volvo had a very strong safety emphasis already in the '50s, introducing many firsts in the automotive safety field. In that decade they introduced shoulder belts as a world first and padded dashboard as an European first (Tucker had this already in '40s but only 51 cars were ever made).
comment 10y ago · link · parent
I do not know what's referred to as "original OSes" but many old operating systems had actually pretty decent security architecture. MULTICS and VMS, for example, and many others too.
comment 10y ago · link · parent
comment 11y ago · link · parent
They have some pretty far-out stuff. Woggle Bug and Waveform City are outstandingly weird in a very creative way.