Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
22 May, 2013, 07:01:15 *
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 [2] 3 4   Go Down
  Print  
Author Topic: Mistakes made in the ASM tutorials -  (Read 5729 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
calcdude84se
Needs Motivation
Members
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 16:12:14
Date Registered: 21 April, 2010, 04:20:59
Posts: 2207


Total Post Ratings: +62

View Profile
« Reply #15 on: 16 May, 2010, 14:04:22 »
0

I doubt it... The OS architecture has remained essentially the same throughout its versions.
The only possibly new bcalls (which may not be in any standard include file, not to mention the 84+ series is over a year old anyway) are 84+(SE) specific ones, which wouldn't be covered by Hot_Dog's tutorial for a long time.
Logged

"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Bug me about PartesOS. I might just need reminding.
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #16 on: 23 June, 2010, 20:14:20 »
0

In lesson 9, on page 12, I had the following text in bold:

Whenever you see a function that has a parameter
of a one-byte value, you can also use (HL) inside that parameter.


That was a mistake.  Instead of "one-byte value", it should be "one-byte register."
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

mapar007
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: Yesterday at 17:24:56
Date Registered: 09 October, 2008, 17:38:37
Location: Mechelen, Flanders, Belgium
Posts: 553


Total Post Ratings: +23

View Profile
« Reply #17 on: 25 June, 2010, 11:41:16 »
0

I think you should say somewhere that IX and HL are always mutually exclusive. There is no instruction that can take HL and IX as its arguments.  (so you can't do add hl,ix)
« Last Edit: 25 June, 2010, 11:41:37 by mapar007 » Logged

Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #18 on: 25 June, 2010, 16:43:28 »
0

I think you should say somewhere that IX and HL are always mutually exclusive. There is no instruction that can take HL and IX as its arguments.  (so you can't do add hl,ix)

Certainly, although so far, I haven't told the reader what IX is  Cool
« Last Edit: 25 June, 2010, 17:17:36 by Hot_Dog » Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 20 May, 2013, 21:27:24
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2735


Total Post Ratings: +373

View Profile
« Reply #19 on: 25 June, 2010, 17:06:50 »
0

I think you should say somewhere that IX and HL are always mutually exclusive. There is no instruction that can take HL and IX as its arguments.  (so you can't do add hl,ix)
Well, actually, the major exception (which I didn't realize for quite a while) was that the "ld h,(ix+n)", "ld l,(ix+n)", "ld (ix+n),h" and "ld (ix+n),l" instructions are actually quite valid.
Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
tr1p1ea
LV6 Super Member (Next: 500)
******
Offline Offline

Last Login: 20 May, 2013, 14:38:30
Date Registered: 27 August, 2008, 07:52:13
Posts: 347


Total Post Ratings: +55

View Profile
« Reply #20 on: 25 June, 2010, 18:25:33 »
0

Along with operations on ixl/ixh & iyl/iyh.
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 06:42:09
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50214


Total Post Ratings: +2613

View Profile WWW
« Reply #21 on: 25 June, 2010, 23:37:52 »
0

By the way, I haven't got time to check the tutorials yet, but are you planning to have a section specifically for stuff that is not compatible with the TI-Nspire, discouraging their usage unless absolutely needed (for speed, for example)?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
ztrumpet
The Rarely Active One
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: Today at 03:10:30
Date Registered: 08 November, 2009, 21:10:12
Location: Michigan
Posts: 5687


Total Post Ratings: +360

View Profile
« Reply #22 on: 25 June, 2010, 23:40:35 »
0

By the way, I haven't got time to check the tutorials yet, but are you planning to have a section specifically for stuff that is not compatible with the TI-Nspire, discouraging their usage unless absolutely needed (for speed, for example)?
Actually I don't think he's going to describe undocumented instructions (unless they are in an appendix). Smiley
Logged

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 06:42:09
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50214


Total Post Ratings: +2613

View Profile WWW
« Reply #23 on: 25 June, 2010, 23:42:22 »
0

Aaah ok. Well, if he ever do any doc on them, he should probably warn that those will not work on the Nspire.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #24 on: 26 June, 2010, 01:09:24 »
0

Aaah ok. Well, if he ever do any doc on them, he should probably warn that those will not work on the Nspire.

I think I'll put them in an appendix.  Thanks, btw, I'll be sure to warn about Nspire compatability.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

ralphdspam
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 09:10:11
Date Registered: 01 February, 2011, 07:58:40
Location: California, USA
Posts: 841


Total Post Ratings: +36

View Profile
« Reply #25 on: 06 March, 2011, 22:49:29 »
0

Quote from: Lesson 6 Page 9
Main_Menu .equ 0
Settings_Menu .equ1
Players_Menu .equ 2
Names_Menu .equ 3
Main_Menu_Items .equ 4
Settings_Menu_Items .equ 3
Players_Menu_Items .equ Settings_Menu_Items
Names_Menu_Items .equ Player_Menu_Items
Should be:

1
Names_Menu_Items .equ Players_Menu_Items

(I think)
Logged

ld a, 0
ld a, a
souvik1997
Guest
« Reply #26 on: 06 March, 2011, 22:55:29 »
0

Also, .org 40339 should be changed to .org $9D93, because RAM addresses are generally expressed in hexadecimal.
Logged
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #27 on: 06 March, 2011, 23:14:18 »
0

Quote from: Lesson 6 Page 9
Main_Menu .equ 0
Settings_Menu .equ1
Players_Menu .equ 2
Names_Menu .equ 3
Main_Menu_Items .equ 4
Settings_Menu_Items .equ 3
Players_Menu_Items .equ Settings_Menu_Items
Names_Menu_Items .equ Player_Menu_Items
Should be:

1
Names_Menu_Items .equ Players_Menu_Items

(I think)


Yeah, I think you're right

Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

ralphdspam
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 09:10:11
Date Registered: 01 February, 2011, 07:58:40
Location: California, USA
Posts: 841


Total Post Ratings: +36

View Profile
« Reply #28 on: 07 March, 2011, 00:22:17 »
0

Also, .org 40339 should be changed to .org $9D93, because RAM addresses are generally expressed in hexadecimal.
... You might want to see this
http://www.omnimaga.org/index.php?topic=6917
« Last Edit: 07 March, 2011, 00:24:39 by ralphdspam » Logged

ld a, 0
ld a, a
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #29 on: 07 March, 2011, 00:24:41 »
0

Also, .org 40339 should be changed to .org $9D93, because RAM addresses are generally expressed in hexadecimal.
Um... you might want to see this
http://www.omnimaga.org/index.php?topic=6917

Don't worry about it Ralphdspam.  The topic wasn't up at that time.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

Pages: 1 [2] 3 4   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.376 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.