Subject:
|
(no subject)
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Tue, 10 Jun 1997 18:32:44 GMT
|
Original-From:
|
Nick Markou <nick@ECE{avoidspam}.concordia.CA>
|
Viewed:
|
1348 times
|
| |
| |
Howdy.
I've been having a little trouble trying to re-assemble a version of pcode for
my handyboard to take advantage of a 20x4 LCD display.
I'm using Linux as my development environment and the way I've got my files
set-up is illustrated below:
/home/mydir/pcode-dev
|
+---------------|---------------------|
| | |
as11_cpp libs/ moto/
as11 pcode.h |-------|
pcode_hb.asm pcode_eq.asm fp/
pcode_in.h math11routines.asm
6811regs.asm math11vars.asm
Using the attached Makefile and as11_cpp script results in the warnings below
and the creation of a null pcode_hb.s19 (actually, a whole 11 bytes!).
If anybody has any hints or suggestions on getting my environment set-up right
to re-assemble pcode, I'd greatly appreciate it.
Thanks in advance,
NM
------------------------ Result of make -----------------------------
oedipus:~/pcode-dev> make
as11_cpp pcode_hb.asm -DHANDYBOARD -DLCD_ROWS=2 -DLCD_COLS=16 -I~/pcode-dev/libs
cc -E -I/home/mydir/pcode-dev/libs -DHANDYBOARD -DLCD_ROWS=2 -DLCD_COLS=16 -I~/pcode-dev/libs pcode_hb.asm
cc: pcode_hb.asm: linker input file unused since linking not done
cc -E -I/home/mydir/pcode-dev/libs -DHANDYBOARD -DLCD_ROWS=2 -DLCD_COLS=16 -I~/pcode-dev/libs pcode_hb.asm
cc: pcode_hb.asm: linker input file unused since linking not done
as11 /tmp/609.asm
6811 assembler 10-Aug-91
original program by Motorola.
a few modifications by Randy Sargent (rsargent@media.mit.edu)
rm /tmp/609.asm
mv /tmp/609.s19 pcode_hb.s19
If anybody has a clue as to why I'm getting the above warning which results in a null
pcode_hb.s19 (actually a whole 11 bytes!)
------------------------------ end ---------------------------------
------------------------------- as11_cpp -----------------------------
#!/bin/csh -f
set cpp_args=(-I/home/mydir/pcode-dev/as11)
set other_args=()
foreach arg ($argv[2-])
if ($arg =~ -D* || $arg =~ -I*) then
set cpp_args=($cpp_args $arg)
else
set other_args=($other_args $arg)
endif
end
set echo
cc -E $cpp_args ${1:r}.asm > /tmp/$$.asm
cc -E $cpp_args ${1:r}.asm > /tmp/$$.asm
as11 /tmp/$$.asm $other_args
rm /tmp/$$.asm
mv /tmp/$$.s19 ${1:r}.s19
---------------------------- end --------------------------------------
------------------------- Makefile ------------------------------------
# include make$(MACHINETYPE)
LIBRARY_DIR= pcode-2.81-dist/libs
LIB_DEST = ~/ic2v86b/src
INCLUDES = ~/pcode-dev/moto/fp/math11vars.asm \
~/pcode-dev/moto/fp/math11routines.asm \
$(LIBRARY_DIR)/pcode.h $(LIBRARY_DIR)/pcode_in.h
S19S = pcode_hb.s19
all: $(S19S)
# Handy Board, 16x2 LCD
# similar to rev 2 board, but no poweroff interrupt.
pcode_hb.s19: pcode_hb.asm $(INCLUDES)
as11_cpp pcode_hb.asm -DHANDYBOARD -DLCD_ROWS=2 -DLCD_COLS=16 -I$(LIBRAR
Y_DIR)
install: $(S19S) $(LIB_DEST)
cp $(S19S) $(LIB_DEST)
----------------------------- end --------------------------------------
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|