log☇︎
41400+ entries in 0.012s
asciilifeform: *tarball
asciilifeform: not counting the printf or the makefile, 495 lines.
asciilifeform: rom.ld is the linker memorymap magic, also educational, produces a bootable kernel.
asciilifeform: boot_qemu.asm is the minimal x86-64 init and stage1 loader.
asciilifeform: the interesting from 'iron gnat' etc pov, is the *.asm .
asciilifeform: now includes whole thing.
asciilifeform: updated the taball, new sha512==6b131ba3529ae9856f0befa260c1a477b068197a9e3b24571308c528bc1373c2ca71f6065e1146dbe9329f115a2fe53469f0d7528a729f73194d75365e7f63f8
asciilifeform: hmm seems like i forgot to include the sage gdb loaders, 1s
asciilifeform: worx in asciilifeform's old gnat.
asciilifeform: to build , needs nasm + any gcc whatsoever ( gnat oughta work )
asciilifeform: the demo mainproggy, rom.c, simply prints 'Halted.' to the uart and hangs forever.
asciilifeform: 'make emu-dbg' boots in qemu in singlestep mode.
asciilifeform: 'make dis' shits out disasm of whole thing
asciilifeform: there is a x86-64 pagetable unit, and uart init. some of the routines are in c, but quite simple to translate. there is a heathen printf, can tear it out, or use for hexdumps etc.
asciilifeform: 'make emu' builds variant that runs in qemu and (if you have x86-64 qemu) boots it. 'make sage' ditto but boots on a cold sage ( see http://www.loper-os.org/?p=1887 & elsewhere ) . 'make sage-warm' boots on a warm sage. ☟︎
asciilifeform: i will put in the log, what this is, and how to eat it
asciilifeform: ok here goes, ftr : http://loper-os.org/pub/x86-64-toystore-os.tar.gz >> sha512==e292a6d4296bc3cc63d2bc78bb7def807f7c4e9f8e630b292afec00b08c1fc2f8eeff5d074560804828ee7aee8ab5e43e698436c203c990d994863882e51446a ☟︎
asciilifeform: see also http://btcbase.org/log/2016-09-17#1544272 , http://btcbase.org/log/2017-01-19#1605443 , elsewhere. ☝︎☝︎
asciilifeform: the packard bell thing, with the int19 debugger ?
asciilifeform: verily
asciilifeform: lol
asciilifeform: ( all you gotta do is to bring up the x64 pagetable and the uart, and you're home )
asciilifeform: funnily enuff asciilifeform posted the necessary asm a while back, but grrr can't find in log yet
asciilifeform: mircea_popescu: it's a finger's length of asm away from iron gnat.
asciilifeform: !!up Bigtexasbingo
asciilifeform: oh neat
asciilifeform: ( took'em... 23 yrs )
asciilifeform: in other noose, herr asahara hangs.
asciilifeform: ave1: simulator won't give you much useful to work with re analogue rng, considering that it relies on amplification of physical (johnson) noise
asciilifeform: ( the src is pedantically, painfully commented, but whoknows )
asciilifeform: ave1: feel free to ask q if you end up puzzled in re particulars.
asciilifeform: ave1: iirc you also have an actual FG, can experiment with that.
asciilifeform brb,tea
asciilifeform: ice40, unlike the xilinx cplds, also includes 32kB of onboard sram. so possibly can have small cache, or extra registers, or some other useful item.
asciilifeform: ( ice40 is about a dozen times larger )
asciilifeform: it eats 71 of the 72 logic cells in the old xilinx cpld.
asciilifeform: approx same level of complexity as that little mips.
asciilifeform: and state machine, etc
asciilifeform: ( illustrates a (write-only) serial uart, for instance )
asciilifeform: ave1: FUCKGOATS src http://btcbase.org/patches/fg-genesis makes as good an intro to verilogism as any imho
asciilifeform: no particular need for qemu.
asciilifeform: the simplest (text i/o only) mips emul asciilifeform likes, is 'gxemul' , should suffice to test.
asciilifeform: 1 will suffice.
asciilifeform: see above.
asciilifeform: http://p.bvulpes.com/pastes/2RPis/?raw=true << example. schoolbook mips
asciilifeform: ( and possibly can roll in not only mips, but e.g. a custom instruction for bounds checking ) ☟︎
asciilifeform: it won't be world's fastest, but will work.
asciilifeform: the ice40 breakthrough however means that we can be own mips producer.
asciilifeform: not 1 answered.
asciilifeform: nope
asciilifeform: i took a shot at building one back in 2016, but ran into a buncha gnarl, which ave1 at this point seems to have mostly resolved
asciilifeform: asciilifeform in particular would like a gnat for mips, given as the latter actually fits in an ice40
asciilifeform: ave1: x86, arm, mips, at the very least.
asciilifeform: lol
asciilifeform: ave1: ultimate brass ring is where we can dispense with os (in the usual sense)
asciilifeform: !#s bare metal
asciilifeform: ( init the x64 page table, jump, serial port for i/o )
asciilifeform: ave1: seems like the holy grail, the bare iron gnat, is not far.
asciilifeform: nifty
asciilifeform: i'll read the whole thing and get back .
asciilifeform: hm
asciilifeform: ave1: also keep in mind that you can't get away with not having the last-resort exception handler -- preconds and asserts demand it
asciilifeform: ave1: pretty neat. 1 nitpick, however: generally you don't want memcpy and memmove to be in anything but asm -- otherwise whole proggy is abominably slow ( ada proggy spends quite a bit of time clearing buffers and passing fairly large chunks of data by value )
asciilifeform: 158 9E Peseta sign << lol!!
asciilifeform: http://archive.is/xa79A#selection-4043.0-4055.26 >> 166 A6 Feminine ordinal indicator / 167 A7 Masculine ordinal indicator << where the fuk is this used?!
asciilifeform: ditto, naturally, chinesium ( plenty of cn/jp'kanji' are decomposable into subglyphs, the amt of use made of this fact : 0 )
asciilifeform: because this somehow makes sense.
asciilifeform: phunphakt -- because of insistence on supporting idjit rendering systems, they let korean ( hangul ) script eat O(N^4) space ! ( i.e. erry possible combo of subglyphs ) apparently.
asciilifeform: nuts.
asciilifeform: 'where, sir, wouldja like this put!'
asciilifeform: srsly?! what did they put in its place, urdu ?
asciilifeform: oh forfuxsake
asciilifeform: hm i thought ansi 'norton' graphics made it in
asciilifeform: in other definitely-not-noose, turns out chechen has ( sorta like the turkic langs ) an astonishing proliferation of tenses ( e.g. you cannot say 'last night epony was impaled on scimitar', gotta specify a tense that depends on e.g. whether you personally witnessed said edifying act, and whether impaled repeatedly or merely 1 thrust, or... )
asciilifeform: aa this muchly yes
asciilifeform: how's that ? ( verily it is problem, but how here )
asciilifeform: 1 of the things asciilifeform would luvvv to see reimplemented in a nearfyootoor sane scripting lisp
asciilifeform: motherfucking opensores liquishit
asciilifeform: http://btcbase.org/log/2018-07-05#1831741 << grr still fighting gnuplot... ☝︎
asciilifeform: lol the cheek.
asciilifeform brb,meat
asciilifeform: afaik they did not like lefthanders any moar than europistan did.
asciilifeform: btw how the fuck does one go about writing r->l orclangs without smudging, i'd like to know.
asciilifeform idly wonders whether this actually displays on anybody's box but mine
asciilifeform: لَا إِلٰهَ إِلَّا ٱلله مُحَمَّدٌ رَسُولُ ٱلله(tm)(r)!!
asciilifeform: http://btcbase.org/log/2018-07-05#1832116 << dun forget 'in'shallah' ( iirc rendered in sp as 'ojala' ) ☝︎
asciilifeform: ( what do you own that's worked ~continuously~ for 40+yrs without stopping ? outside of own torso )
asciilifeform: tell usa victim about su konsoomer ~mechanical~ clock with temperature compensation, ruby bearings, etc., he will assume you've taken lsd. ☟︎
asciilifeform: ... these are just about eternal, just needs change of oil erry 3 decades or so
asciilifeform: and on subj, not long ago asciilifeform repaired, for relative, ancestral clock, what looked like cheap alarm clock but is actually an enlarged sov copy of ~swiss~ movement , made to 'cosmonaut' specs, believe ☟︎
asciilifeform: ( fully 50 y. old, picture this )
asciilifeform: asciilifeform has this recurrent real-life nightmare erry time he has to replace a piece of ancestral tech. most recently, i shit thee not, a pillow
asciilifeform: yes, for proper seppuku attire gotta silk.
asciilifeform: was speaking of the cut, not the fabric
asciilifeform: i think it's from back home.
asciilifeform: aha, it
asciilifeform: mine loox sorta like old-style kimono, the kind to seppuku in, and is prolly 20yo at this point
asciilifeform: i've yet to see shortsleeve bathrobe lol
asciilifeform: BingoBoingo: the agronomist society ?!
asciilifeform: BingoBoingo: where ? mormonistan ?