I am using vim to edit the files, and my vim settings are set for a tab width of 4. This is clearly not how the sun programmers did things (8 was almost a standard back in 1987) and I see inconsistent and displeasing indentation.
There are a multitude of opinions about how to indent source code. I have no interest in negotiating any of that. I just want to be able to see the bootrom source just as the sun programmers saw it.
I also want to get rid of tabs entirely so that anyone else who looks at this code with whatever editor and whatever setting will see what they ought to see.
mv diag.s diag.ORIG expand -t 8 diag.ORIG > diag.sIt turns out that 8 works and 8 is the default for expand, so it is as easy as this:
mv diag.s diag.ORIG expand diag.ORIG > diag.sThis makes the files look nice rather than a chaotic jumble as they did with the wrong tab setting.
Tom's Computer Info / tom@mmto.org