summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-10-26 11:24:01 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2013-10-26 11:24:56 (GMT)
commita771c934a770483ed46f6b0b3daea2d4e13353d7 (patch)
tree8f380b786947737a2cb192931695840118b90701
parent802207f2b1daa2e27a1765b2ec1e1166f59b0e64 (diff)
downloadabc80sim-a771c934a770483ed46f6b0b3daea2d4e13353d7.zip
abc80sim-a771c934a770483ed46f6b0b3daea2d4e13353d7.tar.gz
abc80sim-a771c934a770483ed46f6b0b3daea2d4e13353d7.tar.bz2
abc80sim-a771c934a770483ed46f6b0b3daea2d4e13353d7.tar.xz
Rename printer.* to printrom.*
printer.c sounds much more like something that should be the printer I/O driver... it gets too confusing. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--Makefile.in10
-rw-r--r--abc80.c2
-rwxr-xr-xbin2c.pl5
-rw-r--r--printrom.asm (renamed from printer.asm)0
-rw-r--r--printrom.bin (renamed from printer.bin)bin722 -> 722 bytes
-rw-r--r--rom.h2
6 files changed, 9 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in
index 91b112e..fc1ade4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -24,8 +24,8 @@ RM_F = rm -f
O = @OBJEXT@
X = @EXEEXT@
-GENO = abcrom40.$(O) abcrom80.$(O) ufddos.$(O) printer.$(O)
-GENC = abcrom40.c abcrom80.c ufddos.c printer.c
+GENO = abcrom40.$(O) abcrom80.$(O) ufddos.$(O) printrom.$(O)
+GENC = abcrom40.c abcrom80.c ufddos.c printrom.c
OBJS = abc80.$(O) clock.$(O) sdlscrn.$(O) z80.$(O) abc80_mem.$(O) io.$(O) \
abcfont.$(O) disk.$(O) \
@@ -55,11 +55,11 @@ abc80$(X): $(OBJS)
abcrom40.c: abcrom40.bin bin2c.pl
abcrom80.c: abcrom80.bin bin2c.pl
-printer.c: printer.bin bin2c.pl
+printrom.c: printrom.bin bin2c.pl
ufddos.c: ufddos.bin bin2c.pl
-printer.bin: printer.asm
- z80asm/z80asm -l printer.lst -o printer.bin printer.asm
+printrom.bin: printrom.asm
+ z80asm/z80asm -l printrom.lst -o printrom.bin printrom.asm
abc80.$(O): clock.h screen.h z80.h patchlevel.h
clock.$(O): clock.h z80.h
diff --git a/abc80.c b/abc80.c
index ac6c432..09cb6a6 100644
--- a/abc80.c
+++ b/abc80.c
@@ -137,7 +137,7 @@ int main(int argc, char **argv)
*/
if (!no_device) {
load_rom(&ufddos);
- load_rom(&printer);
+ load_rom(&printrom);
}
/*
diff --git a/bin2c.pl b/bin2c.pl
index e208072..9678014 100755
--- a/bin2c.pl
+++ b/bin2c.pl
@@ -1,8 +1,7 @@
#!/usr/bin/perl
-## $Id$
## -----------------------------------------------------------------------
##
-## Copyright 1998-2004 H. Peter Anvin - All Rights Reserved
+## Copyright 1998-2013 H. Peter Anvin - All Rights Reserved
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -32,7 +31,7 @@ $table_name =~ s/\.[^\.]*$//; # Drop extension
unless (defined ($offset)) {
$offset = 0x404b if ($table_name eq 'abcdev');
$offset = 0x6000 if ($table_name =~ /dos$/);
- $offset = 0x7800 if ($table_name eq 'printer');
+ $offset = 0x7800 if ($table_name eq 'printrom');
}
open(IN, '<', $input_file)
diff --git a/printer.asm b/printrom.asm
index a02ec84..a02ec84 100644
--- a/printer.asm
+++ b/printrom.asm
diff --git a/printer.bin b/printrom.bin
index 9a972d8..9a972d8 100644
--- a/printer.bin
+++ b/printrom.bin
Binary files differ
diff --git a/rom.h b/rom.h
index 34d3115..37cd944 100644
--- a/rom.h
+++ b/rom.h
@@ -9,6 +9,6 @@ struct rom {
unsigned int size;
};
-extern const struct rom abcrom40, abcrom80, printer, ufddos;
+extern const struct rom abcrom40, abcrom80, printrom, ufddos;
#endif /* ROM_H */