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.


Messages - darklink.perry

Pages: [1] 2
1
ASM / Re: ON break
« on: August 15, 2012, 05:23:21 pm »
Aha! It works! Thank you SO MUCH!

2
ASM / Re: ON break
« on: August 15, 2012, 04:54:43 pm »
But it doesn't come up with a break error until I press ON. If I press any other button, then it shows the error.

3
ASM / Re: ON break
« on: August 15, 2012, 04:51:05 pm »
Okay, here's some code, if it helps.
.option BM_SHD = 2

.option bm_min_w = 96

#define B_CALL(label) rst 28h \ .dw label

#include "ti83plus.inc"

.org $9D93

.db t2ByteTok, tAsmCmp

      B_CALL(_RunIndicOff)
      ld hl, Splash_Screen
      ld de, plotsscreen
      ld bc, 768
      ldir
      
      B_CALL(_GrBufCpy)
      res onInterrupt,(iy+onFlags)
      B_CALL(_GetKeyRetOff)
      B_CALL(_ClrLCDFull)
      
      ret

Splash_Screen:

#include "images/logo.bmp"

4
ASM / Re: ON break
« on: August 15, 2012, 04:46:06 pm »
Okay, when I use the other style, it works, but it still breaks on ON.
How frustrating.

5
ASM / Re: ON break
« on: August 15, 2012, 04:02:59 pm »
Is there a way to test if GetCSC returns with no keys pressed?
As in, if no keys are pressed, will it set off a flag?

6
ASM / Re: ON break
« on: August 15, 2012, 03:56:53 pm »
I use B_CALL _ExampleBCALL. And I use spasm.

7
ASM / Re: ON break
« on: August 15, 2012, 03:48:46 pm »
If I add that, using your method returns the same, and using the provided include, all the B_CALLs return errors, all saying the same:
error: Macro B_CALL is missing arguments

8
ASM / Re: ON break
« on: August 15, 2012, 03:40:27 pm »
If I use the ti83plus.inc file jacobly provided, it gives me errors for all B_CALLs. If I use the B_CALL $500B, it waits for a keypress, and then continues, breaking on ON.

9
ASM / Re: ON break
« on: August 15, 2012, 03:26:56 pm »
the GetKeyRetOff on compilation says it isn't a label or macro. if I throw out that command, it still does not stop the on key breakage.

10
ASM / Re: ON break
« on: August 15, 2012, 02:31:59 pm »
I am in fact using B_CALL _getKey. I wanted to use GetCSC, but I want to detect if any key was pressed, and testing for each and every key would be inconvenient.

11
ASM / Re: ON break
« on: August 15, 2012, 02:28:26 pm »
I'm not using any shells. I'm just running it regularly.

12
ASM / Re: ON break
« on: August 15, 2012, 02:25:46 pm »
ben_g is exactly on the point. But does that mean that I really can't use any B_CALLs?

13
ASM / Re: ON break
« on: August 15, 2012, 02:23:12 pm »
Actually, I have learned that a while ago, but I still wanted to use Assembly.

14
ASM / Re: ON break
« on: August 15, 2012, 02:18:45 pm »
But the assembly program I've written can be broken by pressing On...

15
ASM / ON break
« on: August 15, 2012, 02:03:17 pm »
Can anyone help me? I learned the basics of assembly language a couple days ago, and I'm building one of my first long term programs. I need to keep people from breaking with the on button (one of the reasons why I turned to asm!) ???

Pages: [1] 2