Faster language than BASIC

Got a brilliant program idea? Let us know!

Moderator: MaxCoderz Staff

User avatar
Loki
Extreme Poster
Posts: 314
Joined: Thu 18 Aug, 2005 7:01 pm
Location: My world is in grayscale, but if i stand still long enough, i see it in black and white.
Contact:

Post by Loki »

reverse polish notation = bad

2 2 +....no way mate :x
Image
CoBB
MCF Legend
Posts: 1601
Joined: Mon 20 Dec, 2004 8:45 am
Location: Budapest, Absurdistan
Contact:

Post by CoBB »

C? Haha. Why don't you just look at some Ezasm code? Here's an example:

http://www.ticalc.org/archives/files/fi ... 27198.html

It's little more than just a set of macros.

Yes, C compilers exist, but they produce horrible code.
coelurus
Calc Wizard
Posts: 585
Joined: Sun 19 Dec, 2004 9:02 pm
Location: Sweden
Contact:

Post by coelurus »

What about, say, z80? That's quick :)

I had a look at that ezasm game... Just geez, asm looks a whole lot more inviting. What's the problem with learning asm anyway?
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

I tried ez asm. asm was easier. No offense, but macros are teh suck.
Image
Spengo
Calc Master
Posts: 1116
Joined: Sat 15 Jan, 2005 3:56 am
Location: ooga booga land
Contact:

Post by Spengo »

I thought z80 was the processor, not a programming language. :?
bananas... o.o
pacHa
Sir Posts-A-Lot
Posts: 190
Joined: Sun 09 Jan, 2005 9:51 am
Contact:

Post by pacHa »

Right. But since every processor has its asm, we say 'z80', 'x86', 'ppc' etc.
Image
User avatar
Loki
Extreme Poster
Posts: 314
Joined: Thu 18 Aug, 2005 7:01 pm
Location: My world is in grayscale, but if i stand still long enough, i see it in black and white.
Contact:

Post by Loki »

righty-o then, i'll give z80 another whack...just hope i dont lose everything in a freak computer crash and lose interest like the last 3 times :x
Image
Spencer
Extreme Poster
Posts: 346
Joined: Mon 17 Jan, 2005 8:56 am
Location: Indiana

Post by Spencer »

Once you see what you'll be able to do, it'll be difficult to lose interest. :wink:
User avatar
Loki
Extreme Poster
Posts: 314
Joined: Thu 18 Aug, 2005 7:01 pm
Location: My world is in grayscale, but if i stand still long enough, i see it in black and white.
Contact:

Post by Loki »

I dunno mate, i lose interest in things kinda easily...maybe i should stick with VB4 till i get that down, then go on to bigger things...Now, if only I could keep my mind on track...
Image
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

No way, assembly is awesome. It can be programmed on any machine you can get it on! z80 on calcs and old nintendo stuff (you can make nintendo games for emulators). 68k on nice calculators and mac os 1 through 9. MIPS on a PC for making insane, uh, not...viruses. And lots of other stuff! It also teaches you about how a computer works.
Image
User avatar
Loki
Extreme Poster
Posts: 314
Joined: Thu 18 Aug, 2005 7:01 pm
Location: My world is in grayscale, but if i stand still long enough, i see it in black and white.
Contact:

Post by Loki »

Good point...well, alright..I'll finish up this little project of mine in TI-BASIC, then i'll get into z80 again.
Image
cjgone
Regular Member
Posts: 83
Joined: Tue 18 Apr, 2006 5:33 am
Location: Washington->UC Berkeley '15

Post by cjgone »

Hmm, the first time I started z80 asm none of my programs work. TASM is case sensitive and you must tab all code to the right. Some websites with source codes capitalize thingsa that aren't supposed to be.
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

Use Spencer's Assembler, it's practically perfect in every way. Look here.
Image
Treefrog
New Member
Posts: 42
Joined: Mon 11 Jul, 2005 9:31 pm
Location: Here

Post by Treefrog »

Basic works if you're good at it
CompWiz
Calc King
Posts: 1950
Joined: Thu 13 Oct, 2005 1:54 pm
Location: UB

Post by CompWiz »

Treefrog wrote:Basic works if you're good at it


Topic: Faster language than BASIC

Basic is ok for some things, but for others, it's simply not fast enough. smooth scrolling, greyscale, raycasting, sound, and any program that requires some speed really requires asm, or at the very least asm libs like xlib
Post Reply