[A83] 83+ compiling problems


[Prev][Next][Index][Thread]

[A83] 83+ compiling problems




I have plenty of experience with compiling for the 83-,
but now I want to take my most important programs to the
83+. When I compile a (squished) ION program, it works
fine. But when I try a 'Asm(prgmTEST)' program, it gives
a err:invalid. When I do 'prgmTEST' the calc gives err:version

this is the program code (for test.z80)

+-+-+-+-+-+-+-+-+-+-+-+-+-+

#define TI83P
.nolist
#include ion.inc
.list

    .org progstart


	bcall(_clrscrnfull)
	ld hl,txt
	bcall(_puts)
	bcall(_getkey)
	ret

txt:	.db "Test!",0

.end
END

+-+-+-+-+-+-+-+-+-+-+-+-+-+

And this is in the batch file for compiling:

+-+-+-+-+-+-+-+-+-+-+-+-+-+

@echo off
echo ----- Assembling %1 for the TI-83 Plus...
tasm -80 -i -b %1.z80 %1.bin
if errorlevel 1 goto ERRORS
devpac8x %1

echo ----- Good job, now go test it out!
echo TI-83 Plus version is %1.8xp
goto DONE
:ERRORS
echo -----  there were errors, go back and fix it!

:DONE
del %1.bin
del %1.lst

+-+-+-+-+-+-+-+-+-+-+-+-+-+

I'm programming only for the 83+, so dont start about the
#define TI83P stuff...

      SUCKER [Pieter Van Nuffel]


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx




Follow-Ups: