Author Topic: SPASM  (Read 14832 times)

0 Members and 1 Guest are viewing this topic.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: SPASM
« Reply #15 on: October 15, 2010, 04:55:03 pm »
Okay, the quotation marks fixed it. I'm getting a .8xp files now. Unfortunately, the Hello World program I cut and pasted from ASM 28 days for a test is returning an ERR: Invalid in WabbitEmu. Does SPASM use the same syntax as TASM?
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline BuckeyeDude

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 283
  • Rating: +42/-0
    • View Profile
Re: SPASM
« Reply #16 on: October 15, 2010, 04:57:43 pm »
yes it does. add a pause at the end of bat file to make sure you dont have any errors
also here is some code that im pretty sure will work:
Code: [Select]
#include "ti83plus.inc"
.org $9d93
.db 0BBh, 06Dh
 ld hl,0
 ld (CurRow),hl
 ld hl,String
 bcall(_PutS)
 ret
String:
.db "Hello World",0
Also i dont know where your ti83plus.inc file came from but the official spasm one is here:
http://wabbit.codeplex.com/wikipage?title=SPASM%20Include%20Files&referringTitle=Documentation

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: SPASM
« Reply #17 on: October 15, 2010, 05:04:22 pm »
AH, there we go. Thanks a lot :)
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: SPASM
« Reply #18 on: October 15, 2010, 05:09:16 pm »
By the way, does Spasm compile for TI-83s? I tried
Code: (ASM) [Select]
#include ti83.inc
.org $9D95
ret
then linked it with DevPac83, then sent it to a Wabbit 83. It didn't run, even though I used the weird Send(9prgmNAME syntax.

EDIT: Btw, how do you link it with Spasm?
« Last Edit: October 15, 2010, 05:10:02 pm by Deep Thought »




Offline BuckeyeDude

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 283
  • Rating: +42/-0
    • View Profile
Re: SPASM
« Reply #19 on: October 15, 2010, 05:12:32 pm »
yes. binaries are binaries, spasm compiles z80 assembly code. The code you posted is so exceptionally complex though so it could have serious issues :P and as i mentioned the other day you wont want to start at $9D95 when you actually get around to doing anything with absolute offsets. I dont have time to look into it right now though sorry

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: SPASM
« Reply #20 on: October 15, 2010, 05:15:31 pm »
Quote from: BuckeyeDude
and as i mentioned the other day you wont want to start at $9D95 when you actually get around to doing anything with absolute offsets.

Whoops.

Maybe I'm using an old version of DevPac, then. I'll try again later.
« Last Edit: October 15, 2010, 05:21:02 pm by Deep Thought »