Changeset 87361de in buchla-68k


Ignore:
Timestamp:
07/16/2017 05:38:56 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
499da16
Parents:
f38d645
Message:

Prepend a header to midas.abs.

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rf38d645 r87361de  
    77CROSS_AR :=             $(CROSS_PRE)-ar
    88CROSS_OBJC :=   $(CROSS_PRE)-objcopy
     9CROSS_NM :=             $(CROSS_PRE)-nm
    910
    1011# -mshort sets the size of an int to 16 bits; important for interop with
     
    2425HEADERS :=              $(wildcard include/*.h)
    2526
    26 all:                    bios.abs midas.abs
     27all:                    bios.img midas.abs
    2728
    2829PROLOG_C :=             croot.c
     
    165166build/%.o:              rom/%.s $(HEADERS) | build
    166167                                $(CROSS_GCC) $(FLAGS_ASM) -c -o $@ $<
    167 
    168 bios.abs:               bios.img
    169                                 cp bios.img bios.abs
    170168
    171169bios.img:               bios.elf
     
    211209                                $(CROSS_GCC) $(FLAGS_ASM) -c -o $@ $<
    212210
    213 midas.abs:              midas.img
    214                                 cp midas.img midas.abs
     211midas.abs:              midas.elf midas.img
     212                                misc/mkhd.sh $(CROSS_NM) midas.elf >/tmp/midas.hdr
     213                                cat /tmp/midas.hdr midas.img >midas.abs
     214                                rm /tmp/midas.hdr
    215215
    216216midas.img:              midas.elf
  • readme.txt

    rf38d645 r87361de  
    3232
    3333In particular, there's no code for anything related to the actual
    34 sound generation. This seems to happen entirely on different hardware,
    35 which the code refers to as the "FPU" - possibly something DSP-based.
     34sound generation.
    3635
    3736Building with a GCC cross-compiler
     
    9493Once you have the cross-toolchain in place, invoke
    9594
    96   make bios.abs
     95  make bios.img
    9796
    9897from the top-level directory of this repository to build the BIOS and
Note: See TracChangeset for help on using the changeset viewer.