CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 124 users online: 0 members, 83 guests and 41 bots.
Members: None.
Bots: VoilaBot (4), Spinn3r (2), Magpie Crawler (4), VoilaBot (11), Googlebot (17), MSN/Bing (3).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
    » Goto page 1, 2, 3, 4, 5  Next
» View previous topic :: View next topic  
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... Razz
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 Just Joking

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. Smile
_________________


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... Sad

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. Sad 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

Posted: 29 Aug 2010 08:06:45 pm    Post subject:

Raylin wrote:
Sent to admin@cemetech.net.
Your program as compiled ends after "This is a test",0. The entire following section is omitted:


Code:
   .db 00100000b
   .dw 0
   .dw 0
   .dw exitMyProg
dataEnd:
Are you sure it's in your source code? Are there any strange .end or END directives before that?
_________________


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
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page 1, 2, 3, 4, 5  Next
» View previous topic :: View next topic  
Page 1 of 5 » All times are GMT - 5 Hours

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.048411 seconds.