http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Calculator Discussion \ BASIC vs. ASM

Click here to log in (you must be logged in to post comments).

AuthorComment
xIcemanx
Probe
Posted: 19 Apr 2004
18:02 GMT
Total Posts: 2
How much more valuable is ASM for programming purposes? Currently I program in BASIC, but everyone tells me ASM is 999999999x faster and should be used by everyone and that BASIC sucks.

A) Is that true?
B) Should I bother learning ASM?
C) Is it possible to make good BASIC programs/games?
allynfolksjr
Administrator
avatar
Posted: 19 Apr 2004
18:11 GMT
Total Posts: 1892
It really depends what you want your programs to do...
If you like a graphical program, then definitally try ASM, but it will take a large investment of time...
and ASM is alot faster, becasue it's a low language (Which means it's fast).
Digital
Guardian
avatar
Posted: 19 Apr 2004
18:21 GMT
Total Posts: 1051
A) Yes
B) Yes
C) Yes
Barrett
Administrator
avatar
Posted: 19 Apr 2004
18:35 GMT
Total Posts: 1676
i like your forwarding to a random avatar script, iceman.... did you write that?

but yes, it'll just take time to learn assembly. if you want to make efficient programs/games, then go for it. if you just want math programs or simple menu games, then the TI OS already has some perfect BASIC commands for you.

[Edited by Barrett on 20-Apr-04 03:37]

---
-Barrett A
xIcemanx
Probe
Posted: 19 Apr 2004
19:00 GMT
Total Posts: 2
What about non-graphical text-based games that don't need speed? Is ASM more compact RAM-space-wise?

Barrett: No, a friend wrote it for me. Wish I could say I wrote it, though, it's very nice. The only problem is this site needs a specific size, which distorts most of the images.
Barrett
Administrator
avatar
Posted: 19 Apr 2004
19:08 GMT
Total Posts: 1676
if your overall goal of your asm-usage is text based games, then stick with basic.... it's not worth the time to learn and write.

if your overall goal is something graphical, then you should start with a text based game (in asm) just as a learning "step".

(as you should always do, start with a "hello world!" example)

---
-Barrett A
Lunchbox
Carrier
avatar
Posted: 19 Apr 2004
21:51 GMT
Total Posts: 2007
Ya, B's right. Look at other threads, though [esp. those by snoop48/stranded {same person}, he had some good questions and links about basic programming]. really wierd, your avatar changed right before my eyes from the martial/modern arts one, to the matrix one.

BTW B, can i have an avatar that doesn't have it's own website, but is on my computer, which has a stable IP? [or should i ask Z? :)]

EDIT: whoa!! now it went to the iceman one! nice avatars.

Difference between displaying text in TI-BASIC and C
TI-BASIC:
disp "text"
C:
#include <stdio.h>
main
{
printf("text/n"
}
[that might be a little off, my C is a bit rusty]

[Edited by Lunchbox on 20-Apr-04 06:56]
spiral
Wraith
Posted: 20 Apr 2004
00:26 GMT
Total Posts: 958
C has nothing to do with ASM.
Ray Kremer
Ultralisk
Posted: 20 Apr 2004
00:30 GMT
Total Posts: 310
> C has nothing to do with ASM.

True, but it's good enough for a "Look how much more complicated this is than Basic!" example.
Evil Kirby
Dragoon
Posted: 20 Apr 2004
14:25 GMT
Total Posts: 55
I would learn ASM so I could make some wicked visual games,but frankly,It's just a hobby and I don't have the time or energy.

...plus I'm swamped with homework.

.....and I'm lazy. :sleepyhead_a:


I'm sure I'll learn it over the summer.





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org