Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
24 May, 2013, 08:45:37 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 14 15 [16] 17 18 ... 21   Go Down
  Print  
Author Topic: Hot Dog's TI-83+ Z80 ASM for the Absolute Beginner--Discussion -  (Read 20216 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
meishe91
Super Ninja
Members
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 02 May, 2013, 23:54:14
Date Registered: 05 March, 2010, 05:39:48
Posts: 2965


Total Post Ratings: +102

View Profile WWW
« Reply #225 on: 03 October, 2010, 00:33:26 »
0

Well I don't know much about assembly but you can use interrupts probably, but I'm sure there's a better way. As for your TI-BASIC example, that won't really work. You don't have R and C initialized, plus you have no wrap around/end stopping code. Also, For(A,1,1000):End is way overkill for that. (Also, the key code for the right button isn't twenty-four, it's twenty-six. So unless you meant left you'd have to change that plus the line C-1→C would be C+1→C.) Better way of showing would be:


1
2
3
4
5
6
7
8
9
10
11
12
DelVar D4→R
8→C
Repeat 0
getKey→K
If Ans=26
1→D
Output(R,C,"_
C+D
Ans-16((Ans=17)-not(Ans→C
Output(R,Ans,"O
rand(2 \\rand or rand(# is a better way to do delay/pauses/slowdowns/etc. in TI-BASIC.
End
« Last Edit: 03 October, 2010, 00:34:39 by meishe91 » Logged





For the 51st time, that is not my card! (Magic Joke)
Pages: 1 ... 14 15 [16] 17 18 ... 21   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.175 seconds with 32 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.