I forget the plan 9 assembly, or even if plan 9 assembly supports that
syntax, but:
MOVB $c, AL; .byte 0xE6 ; .byte 0xF8; .byte  03
should do the same thing

On Sat, Jan 11, 2025 at 1:14 PM Ron Minnich <rminn...@p9f.org> wrote:
>
> Paul just fixed our multiboot header issue, it now hangs in vmx,
> instead of being rejected by vmx (side note: vmx is worth learning
> from).
>
> There is a little trick Geoff developed for debugging this early code,
> you all may have seen it:
> (from memory, looks like this)
> #define WAVE(c) MOVB $c, AL; OUTB AL, $0x3f8
>
> this may not be exactly right. The idea is that you can sprinkle these
> in the l.s code to see where things stop:
>
> entry point:
> WAVE('p')
> ...
> WAVE('l')
>
> etc.
>
> It's still handy enough that I was using it last week for this purpose.
> If you get to the JMP main you will see
> plan9 says hi there
> or whatever you've set up.
>
> Just be careful: AX gets changed!
>
> But there's no need to dive into the deep end, if you are new to this.
>
> We still need the PRs to remove the PROCESS file, license, and those
> few other things
>
> There are no jobs too small.
>
> We have someone on coreboot, who for years has taken on the task of
> keeping the tree tidy. He is very much appreciated, even though he
> does not write much code. That is always helpful.
>
> On Sat, Jan 11, 2025 at 10:06 AM <tlaro...@kergis.com> wrote:
> >
> > On Sat, Jan 11, 2025 at 04:52:05PM +0100, tlaro...@kergis.com wrote:
> > > [I restarted a special thread because the hier was getting deep and
> > > mixed. Here are the last bits bits taken out and
> > > reproduced for reference before questions.]
> > >
> > > >From Paul Lalonde, relating to a  commit to
> > > https://github.com/rminnich/nix-os
> > > (the main branch is now regen)
> > >
> > > ---8<---
> > > #!/bin/rc
> > >
> > > git/clone g...@github.com:tlaronde/nix-os
> > ^^^^^^^^
> > rminnich
> > 
> > (typo: it's a copy of my test version for tomorrow...)
> > --
> > Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
> >              http://www.kergis.com/
> >             http://kertex.kergis.com/
> > Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M3faa3398d10ab3960e2450b7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to