Skip to content

Commit

Permalink
Fix Makefile PuCrunch Bug
Browse files Browse the repository at this point in the history
Fixed the PuCrunch bug described in mist64#9 as @ytmytm suggested.
  • Loading branch information
El-Virus authored May 22, 2021
1 parent fea8446 commit c4d5b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ ifeq ($(VARIANT), bsw128)

else
@echo Creating $@ from kernal.bin $(DRIVE).bin $(INPUT).bin
printf "\x00\x50" > $(BUILD_DIR)/tmp.bin
awk 'BEGIN { printf "%c%c", 0, 80 }' > $(BUILD_DIR)/tmp.bin
dd if=$(BUILD_DIR)/kernal/kernal.bin bs=1 count=16384 >> $(BUILD_DIR)/tmp.bin 2> /dev/null
cat $(BUILD_DIR)/drv/$(DRIVE).bin /dev/zero | dd bs=1 count=3456 >> $(BUILD_DIR)/tmp.bin 2> /dev/null
cat $(BUILD_DIR)/kernal/kernal.bin /dev/zero | dd bs=1 count=24832 skip=19840 >> $(BUILD_DIR)/tmp.bin 2> /dev/null
Expand Down

0 comments on commit c4d5b66

Please sign in to comment.