| Author |
Message |
|
Raylin

Expert

Joined: 05 May 2008 Posts: 567 Location: Illinois Institute of Technology
|
Posted: 29 Aug 2010 06:19:26 pm Post subject: [ASM] DCS Contest #7: Shenanigans - SHNANGNS |
|
|
I dunno what this program is going to do yet...
I am an ASM noob so expect nothing of interest. |
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
Posted: 29 Aug 2010 06:21:53 pm Post subject: |
|
|
How about a RAM-clearing program that uses DCS headers/GUI?
0x5
Anyway, what is this program supposed to do(when you figure it out) ? _________________ CALCnet Tournament-38%
deviantArt

Last edited by souvik1997 on 29 Aug 2010 06:23:09 pm; edited 1 time in total |
|
| Back to top |
|
|
Pseudoprogrammer

Awesomesauce

Joined: 12 Dec 2006 Posts: 890
|
Posted: 29 Aug 2010 06:22:57 pm Post subject: |
|
|
DCS7 already does that on it's own.
*Buh dum chhh*
I'm kidding, I've not had it bug out on me yet. |
|
| Back to top |
|
|
Raylin

Expert

Joined: 05 May 2008 Posts: 567 Location: Illinois Institute of Technology
|
Posted: 29 Aug 2010 06:23:22 pm Post subject: |
|
|
@souvik: I dunno yet... :c _________________
The Labyrinthine Chronicles
Prophecy: 0% (planning)
The Journalist: 0%
Image of Imperfection: 0%
Phantom Sanctuary: 0%
Godslayer: 0% |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55881 Location: Earth, Sol, Milky Way
|
Posted: 29 Aug 2010 06:32:08 pm Post subject: |
|
|
| Pseudoprogrammer wrote: | DCS7 already does that on it's own.
*Buh dum chhh*
I'm kidding, I've not had it bug out on me yet. | Glad to hear that. Actually, there's an entertaining GUI example in the SDK of which the primary purpose is to crash the calculator.
http://dcs.cemetech.net/index.php?title=GUI_API#Example_of_a_GUI_Program
And Raylin, I'm very happy to hear that you'll be entering the contest after all.  _________________
 |
|
| Back to top |
|
|
Raylin

Expert

Joined: 05 May 2008 Posts: 567 Location: Illinois Institute of Technology
|
Posted: 29 Aug 2010 07:14:12 pm Post subject: |
|
|
My code keeps RAM clearing on me. Am I doing something wrong?
Code:
.nolist
#include "ti83plus.inc"
#include "dcs7.inc"
.list
.org progstart
.db $BB,$6D
Init:
xor d
ret
jr Start
.dw Description
.db $07,$00
.dw $0000
.dw $0000
Start:
call OpenGUIStack
ld hl,myWin
ld de,winButtons-myWin
ld a,GUIRLargeWin
call PushGUIStack
ld hl,winButtons
ld de,dataEnd-winButtons
ld a,GUIRWinButtons
call PushGUIStack
ld hl,0
call GUIMouse
ret
exitMyProg:
call ResetAppPage
ret
Description:
.db "Raylin's Contest Entry",0
myWin:
.db 0,0,0,0,0
.db "This is a test",0
winButtons:
.db 00100000b
.dw 0
.dw 0
.dw exitMyProg
dataEnd:
_________________
The Labyrinthine Chronicles
Prophecy: 0% (planning)
The Journalist: 0%
Image of Imperfection: 0%
Phantom Sanctuary: 0%
Godslayer: 0% |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55881 Location: Earth, Sol, Milky Way
|
Posted: 29 Aug 2010 07:22:30 pm Post subject: |
|
|
change .org progstart to .org progstart-2. Other than that, it looks good. _________________
 |
|
| Back to top |
|
|
Raylin

Expert

Joined: 05 May 2008 Posts: 567 Location: Illinois Institute of Technology
|
Posted: 29 Aug 2010 07:23:37 pm Post subject: |
|
|
It just RAM cleared again. Even after the progstart-2. TT_TT _________________
The Labyrinthine Chronicles
Prophecy: 0% (planning)
The Journalist: 0%
Image of Imperfection: 0%
Phantom Sanctuary: 0%
Godslayer: 0% |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55881 Location: Earth, Sol, Milky Way
|
Posted: 29 Aug 2010 07:31:04 pm Post subject: |
|
|
| Raylin wrote: | | It just RAM cleared again. Even after the progstart-2. TT_TT | That's odd, because that code compiles and executes fine for me...
Edit: Except that it freezes on quit. Actually, in dcs7.asm, I have progstart defined as $9d95-2, so .org progstart should be fine... _________________
 |
|
| Back to top |
|
|
Raylin

Expert

Joined: 05 May 2008 Posts: 567 Location: Illinois Institute of Technology
|
Posted: 29 Aug 2010 07:33:16 pm Post subject: |
|
|
Am I doing something wrong? I have Python 3.1.2 installed... _________________
The Labyrinthine Chronicles
Prophecy: 0% (planning)
The Journalist: 0%
Image of Imperfection: 0%
Phantom Sanctuary: 0%
Godslayer: 0% |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55881 Location: Earth, Sol, Milky Way
|
Posted: 29 Aug 2010 07:34:30 pm Post subject: |
|
|
| Raylin wrote: | | Am I doing something wrong? I have Python 3.1.2 installed... | That should be fine. What's your program name? Are you using the compile.bat tool? Did you switch back to .org progstart? With that, your program works flawlessly for me. _________________
 |
|
| Back to top |
|
|
Raylin

Expert

Joined: 05 May 2008 Posts: 567 Location: Illinois Institute of Technology
|
Posted: 29 Aug 2010 07:36:05 pm Post subject: |
|
|
My file name is test.asm.
I am using the compile tool.
I switched back to progstart.
Still RAM clears. _________________
The Labyrinthine Chronicles
Prophecy: 0% (planning)
The Journalist: 0%
Image of Imperfection: 0%
Phantom Sanctuary: 0%
Godslayer: 0% |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55881 Location: Earth, Sol, Milky Way
|
Posted: 29 Aug 2010 07:37:01 pm Post subject: |
|
|
| Raylin wrote: | My file name is test.asm.
I am using the compile tool.
I switched back to progstart.
Still RAM clears. | So you're running "compile test"? Can you post the output from the compile tool? _________________
 |
|
| Back to top |
|
|
Raylin

Expert

Joined: 05 May 2008 Posts: 567 Location: Illinois Institute of Technology
|
Posted: 29 Aug 2010 07:38:37 pm Post subject: |
|
|
----------------------------------
----- Assembling test for the TI-83/84 Plus...
Brass Z80 Assembler 1.0.4.11 - Ben Ryves 2005-2006
--------------------------------------------------
Assembling...
Pass 1 complete. (1032ms).
Pass 2 complete. (444ms).
Writing output file...
Errors: 0, Warnings: 0.
Writing list file...
Done!
--+=====================+--
--| BinPac8x v1.2 |--
--| by Kerm Martian |--
--| www.Cemetech.net |--
--| admin@cemetech.net |--
--+=====================+--
**Pass 1/1: .8xp Construction**
Warning: Input file test.8xp exists, overwriting.
On-calc name: TEST
Total time: 0.0s
----- test for the TI-83/84 Plus Assembled and Compiled.
TI-83 Plus version is test.8xp _________________
The Labyrinthine Chronicles
Prophecy: 0% (planning)
The Journalist: 0%
Image of Imperfection: 0%
Phantom Sanctuary: 0%
Godslayer: 0% |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55881 Location: Earth, Sol, Milky Way
|
Posted: 29 Aug 2010 07:58:47 pm Post subject: |
|
|
That looks fine too. As a last resort, can you email me the created .8xp? I have no idea why it's crashing for you and not for me. _________________
 |
|
| Back to top |
|
|
Raylin

Expert

Joined: 05 May 2008 Posts: 567 Location: Illinois Institute of Technology
|
Posted: 29 Aug 2010 08:00:38 pm Post subject: |
|
|
Sent to admin@cemetech.net. _________________
The Labyrinthine Chronicles
Prophecy: 0% (planning)
The Journalist: 0%
Image of Imperfection: 0%
Phantom Sanctuary: 0%
Godslayer: 0% |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55881 Location: Earth, Sol, Milky Way
|
|
| Back to top |
|
|
Raylin

Expert

Joined: 05 May 2008 Posts: 567 Location: Illinois Institute of Technology
|
Posted: 29 Aug 2010 08:10:08 pm Post subject: |
|
|
Absolutely none of those.
I have an exitMyProg label...
Does that count? |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55881 Location: Earth, Sol, Milky Way
|
Posted: 29 Aug 2010 08:13:09 pm Post subject: |
|
|
| Raylin wrote: | Absolutely none of those.
I have an exitMyProg label...
Does that count? | If you're using my SDK, then you're also using the exact same compilation tools as me. :/ Can you email me your source code file as well, then, so I can examine that? I'm completely stumped. _________________
 |
|
| Back to top |
|
|
Raylin

Expert

Joined: 05 May 2008 Posts: 567 Location: Illinois Institute of Technology
|
Posted: 29 Aug 2010 08:16:24 pm Post subject: |
|
|
Sent again. Same email address as before. _________________
The Labyrinthine Chronicles
Prophecy: 0% (planning)
The Journalist: 0%
Image of Imperfection: 0%
Phantom Sanctuary: 0%
Godslayer: 0% |
|
| Back to top |
|
|
|