skiselev / 8088_bios

BIOS for Intel 8088 based computers
GNU General Public License v3.0
513 stars 61 forks source link

Makefile needs small update #26

Closed maxgvz closed 1 year ago

maxgvz commented 1 year ago

On the FreeBSD with locale UTF-8, I've encountered with 'tr' utility problem. In fact I could made it work only with using LANG=C patch. Like this:

bios-micro8088.bin: bios.bin
    dd if=/dev/zero ibs=1k count=40 | LANG=C tr "\000" "\377" > bios-micro8088.bin
    cat bios.bin >> bios-micro8088.bin
    dd if=/dev/zero ibs=1k count=64 | LANG=C tr "\000" "\377" >> bios-micro8088.bin
...

Would be helpful to apply this patch to all commands with 'tr'. This patch works okay on linux OS as well.

skiselev commented 1 year ago

Fixed in master branch. Thank you for your contribution!