Blob Blame History Raw
Name:           8088_bios
Version:        0.9.9
Release:        %autorelease
Summary:        BIOS for Intel 8088 based computers

License:        GPL-3.0-or-later
Source:         %{url}/archive/v%{version}/%{name}-%{version}.tar.gz

BuildRequires:  coreutils
BuildRequires:  make
BuildRequires:  nasm
BuildRequires:  xtideuniversalbios

BuildArch:      noarch

This package provides a BIOS for Sergey Kiselev's IBM PC/XT compatible systems:
Micro 8088, Xi 8088 and Sergey's XT.


# Replace bundled xtide bios with the packaged version padded to 8 kB
dd if=%{_datadir}/xtideuniversalbios/ide_xt.bin of=ide_xt.bin bs=8k count=1 conv=sync

for machine in MACHINE_XI8088 MACHINE_FE2010A; do
  %make_build MACHINE="$machine" XTIDE=ide_xt.bin
  rm bios.bin bios.lst

install -Dpm0644 -t %{buildroot}%{_datadir}/%{name} bios*.bin

%license copyright.tmpl