Skip to content

Commit

Permalink
FB: separated builds. CFD:finalization for release. Boot: bootdisk up…
Browse files Browse the repository at this point in the history
…dated.
  • Loading branch information
z00m128 committed Jan 28, 2020
1 parent fab0407 commit 74dcc4a
Show file tree
Hide file tree
Showing 14 changed files with 3,801 additions and 16 deletions.
Binary file removed boot/MB02BootDiskDMAfix.zip
Binary file not shown.
2,106 changes: 2,106 additions & 0 deletions cf-driver/cf-driver-mb02.a80

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions cf-driver/makecfd-mb02.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

# CF Driver builder
# Requirements:
# sjasmplus
# bin2tap
# dirtap

ASM="sjasmplus"
FILE="cf-driver-mb02"

${ASM} --syntax=fm --lst=${FILE}.lst ${FILE}.a80
bin2tap -o ${FILE}.tap -a 32768 -b -c 32767 -r 32768 ${FILE}.bin
dirtap ${FILE}.tap
Binary file added flashboot/cfd-dron.hru
Binary file not shown.
Binary file added flashboot/cfd-pvl.hru
Binary file not shown.
Binary file added flashboot/easyhdd-dron.hru
Binary file not shown.
Binary file added flashboot/easyhdd-pvl.hru
Binary file not shown.
27 changes: 11 additions & 16 deletions flashboot/flashboot.a80 → flashboot/flashboot-cfd-dron.a80
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
;Flashboot v01 for MB-02+
;(c) 11/2019 z00m^SinDiKAT
;Flashboot v02 for MB-02+
;(c) 20/2019 z00m^SinDiKAT
;CF Driver 1.2, Ports: Dron

output "flashboot.bin"
output "fb-cfd-dron.bin"

ula: equ #fe
dma: equ #0b
Expand Down Expand Up @@ -197,12 +198,12 @@ dummyloop: dec hl
jr nz,dummyloop
ret

MsgStartup0: dc " ------------------"
MsgStartup0: dc " --------------------------"
MsgStartup1: dc " MB-02+ FlashBoot"
MsgStartup2: dc " version: 01"
MsgStartup3: dc " ------------------"
MsgStartup4: dc " Press space to boot from floppy!"
MsgStartup5: dc " (c)2019 z00m / TCG / SinDiKAT"
MsgStartup2: dc " version: 02 CFD 1.2 Dron"
MsgStartup3: dc " --------------------------"
MsgStartup4: dc " Press space to boot from floppy!"
MsgStartup5: dc " (c)2020 z00m / TCG / SinDiKAT"

MsgBootEnd0: dc "Booting from floppy... "
MsgBootEnd1: dc "Booting from flash ROM... "
Expand Down Expand Up @@ -491,14 +492,10 @@ RAMcode:
ld a,flash_bank0 ;FlashROM BANK0
out (mem_port),a

ld hl,HDDpatchBin ;move HDD patch to RAM
ld hl,CFDBin ;move HDD patch to RAM
ld de,#8000
call dehrust

ld hl,VDT ;move VDT to its place
ld de,#8003
call dehrust

ld a,rom_bank_ro ;ROM BANK read only
out (mem_port),a

Expand Down Expand Up @@ -543,9 +540,7 @@ roll: db #55

RAMcode_end:

HDDpatchBin: incbin "hdpc.hru"

VDT: incbin "vdt.hru"
CFDBin: incbin "cfd-dron.hru"

BSDOSBin: incbin "bsdos.hru"

Expand Down
Loading

0 comments on commit 74dcc4a

Please sign in to comment.