Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Excelseo

Pages: [1]
1
ASM / Running ASM programs with wabbitemu
« on: September 03, 2016, 02:30:28 pm »
I'm sorry to come running here for help so quickly this time, but I haven't been able to find this out anywhere else. I recently downloaded wabbitemu, since I was sick of clearing my ram all of the time, and SPASM, since I was sick of typing assembly programs on the calculator all the time. I got spasm to work just fine, and it's churning out lovely .8xp files just like I want it to. However, whenever I try to drag-and-drop a program file into wabbitemu, it's stored into the calculator as "C:\Asm\Spasm\program.exe", which, of course, generates a syntax error when I try to run it. How can I fix this?

Thanks, and sorry for asking two questions in a row  :P.

2
ASM / Interrupt Routine not RETurning
« on: August 26, 2016, 09:08:25 am »
So, I've been trying to learn assembly as of late, and a few days ago I started messing around with interrupts. However, I could never get the programs to work as intended, and corrupted the calculator's system routines accidentally whilst trying to do so. (I'm on vacation without my link cable and writing the code on-calc with Mimas)  Forced to use direct output rather than putS to figure out what was going on, I wrote this program.
Code: [Select]
  di
  ld a,$99
;setting up interrupt
  ld i,a
  ld hl,Interrupt
  ld ($993F),hl
  ld ($997F),hl
  ld ($99BF),hl
  ld ($99FF),hl
  im 2
  ld e,$FF
  ei
Loop:
;Infinite loop o' ram clears
  jr Loop
Interrupt:
  ld a,26
;setting column
  out ($10),a
  call WasteTime
;my equivalent of _LCD_BUSY_QUICK
  ld a,$96
;setting row
  out ($10),a
  call WasteTime
  ld a,e
;displaying e as row of pixels
  out ($11),a
  dec e
  reti
WasteTime:
  ld l,10
WasteLoop:
  nop
;344 T-states, just to be safe
  nop
  nop
  nop
  dec l
  jr nz,WasteLoop
  ret
The expectation here is that every 140th of a second, the row of pixels specified would update to reflect e. I understand that the LCD has a refresh rate of 60 fps, but the row of pixels should update on some interval. However, instead, only a solid row of pixels (reflecting e's original $FF) is displayed, which never changes. Since the pixels were displayed at the correct coordinates as intended, I'm reasonably certain that the interrupt setup is working, and that WasteTime is functional as well. That narrows it down to these two lines:
Code: [Select]
dec e
reti
And I'm pretty sure I know how dec works :). Is there something I don't understand about reti? Or is there something entirely different wrong with my understanding of assembly? Sorry for the long post, I wanted to give as much information as possible.

Thanks in advance!


Edit Sorunome: added code tags

 
 

3
General Calculator Help / Way to program asm directly onto calculator
« on: July 08, 2016, 05:56:23 pm »
So, I'm soon going to be in a place where I don't have access to a computer, but where I'm hoping to sharpen my assembly skills. Is there any program or operating system that allows one to program assembly code directly onto the calculator, without writing it on a computer first? If not, is there some method to manually program assembly into the calculator? Thank you in advance!

4
General Calculator Help / Unable to Start Illusiat Collection
« on: November 19, 2015, 06:20:25 pm »
Now, I would first like to explain that I am only a novice at calculator programming, and that I'm not even entirely positive that I posted this in the right place, but I'm doing so anyways because I haven't been able to find much help elsewhere across the desolate expanses of the internet.

I was hoping to get into calculator game design, and naturally, sought out the classics to see what secrets I could glean...

and Lo and Behold! Within the ticalc.org archives (which doesn't have a forum so I couldn't ask for help there) I found "Illusiat Complete RPG Series" from Kevin Oulett. I downloaded it onto my TI-84 Plus, placing the I2004EXE  and IZ2 files within my RAM, and all others into my Archive, as specified by the readme. And then... when I ran I2004EXE as directed...

Error: Archived

I would be ecstatic if someone could give me a bit of a jumping off point as to getting this to run. I know that Illusiat is somewhat legendary when it comes to calculator games, and I can't wait to analyze it.

Thank you!

(P.S. sorry for so many line breaks)

Pages: [1]