Search found 88 matches

by Torahteen
Jun 29, 2007 14:21
Forum: Sources, Examples, Tips and Tricks
Topic: Basic Hypertext Preprocessor
Replies: 15
Views: 13935

This is cool! Any way to make this work with something like Apache?
by Torahteen
Jun 29, 2007 13:59
Forum: Community Discussion
Topic: New E-zine needs submissions
Replies: 12
Views: 7823

Lol, as far as I know, Pascal, and the rest of those languages aren't interchangeable. You can't use a Pascal function in FB :P.
by Torahteen
Jun 28, 2007 20:49
Forum: Community Discussion
Topic: New E-zine needs submissions
Replies: 12
Views: 7823

Isn't it #23 now that he released it again finally?

This mag isn't meant to replace QBE (although, one of the reasons I was starting it was because QBE was "dead"... I was dead wrong on that one (pardon the pun)), but rather to help bring more hobbyist programmers together. Anyway, hehe...
by Torahteen
Jun 28, 2007 14:53
Forum: Community Discussion
Topic: New E-zine needs submissions
Replies: 12
Views: 7823

Hehe, yes, I know it's a little difficult to accomplish. But I'm also hoping to get a little bit of help.

I can't wait to put up the first issue, but remember... I NEED SUBMISSIONS! My first deadline is July 20th, so if you have anything, then write it and submit!
by Torahteen
Jun 28, 2007 4:41
Forum: Community Discussion
Topic: New E-zine needs submissions
Replies: 12
Views: 7823

Heh, yes, I think I know what you mean. But I've got my fingers crossed :P. Honestly, if you have anything that you can submit, then please do :D. Also, I'm looking for people to write some monthly departments, like helping with news, or does a monthly review, or maybe a contest, that sort of thing.
by Torahteen
Jun 27, 2007 16:38
Forum: Community Discussion
Topic: New E-zine needs submissions
Replies: 12
Views: 7823

New E-zine needs submissions

Hello everybody. I am in the process of editing a new E-zine dedicated to C/C++, Freebasic, and Assembler. Now why would I be doing that? Well, it is my belief that since these languages can be used with each other, and since a lot of FB programmers know the C language anyway, that it would only be ...
by Torahteen
Jun 02, 2007 4:50
Forum: General
Topic: FB Calling Convention?
Replies: 20
Views: 6590

No change :\
by Torahteen
Jun 02, 2007 4:25
Forum: General
Topic: FB Calling Convention?
Replies: 20
Views: 6590

Nope, still same effect. The version of NASM that I'm using was one I built from the 0.99.01 source. You?
by Torahteen
Jun 02, 2007 2:43
Forum: General
Topic: FB Calling Convention?
Replies: 20
Views: 6590

No matter what I do, neither of our pieces of code will work... it's printing random values from god knows where in memory.
by Torahteen
Jun 02, 2007 1:53
Forum: General
Topic: FB Calling Convention?
Replies: 20
Views: 6590

Hmm... ours both compile and link now (I compiled your way), but when run they display numbers that look like an overflow occured and they wrapped around. Yours displays 2146625212, and mine displays -1076412324 :\ Edit: I did find one problem with my code. I was adding eax and ecx instead of eax an...
by Torahteen
Jun 02, 2007 1:28
Forum: General
Topic: FB Calling Convention?
Replies: 20
Views: 6590

Doh! Sorry D.J. Can you figure out what's wrong in my code?
by Torahteen
Jun 02, 2007 1:14
Forum: General
Topic: FB Calling Convention?
Replies: 20
Views: 6590

Well, here's what I tried: asmfb.bas: 'Mixing FB and ASM Declare Function addnum CDecl Alias "addnum" (n1 As Integer, n2 As Integer) As Integer Dim answer As Integer answer = addnum(192,304) Print answer End asmfb.s: ;Mixing FB and ASM section .text global addnum addnum: push ebp mov ebp, ...
by Torahteen
Jun 02, 2007 0:48
Forum: General
Topic: FB Calling Convention?
Replies: 20
Views: 6590

I really don't like GAS hehe. The syntax is just not as clean as nasm.
by Torahteen
Jun 02, 2007 0:13
Forum: General
Topic: FB Calling Convention?
Replies: 20
Views: 6590

Ok, so lemme get this straight. The parameters are pushed onto the stack right? Ok, now to make an FB function available for ASM code, I need to EXPORT it? And then to use it in ASM I just call _function after setting up the parameters on the stack right? What I'm really interested in is making an A...
by Torahteen
Jun 01, 2007 21:31
Forum: General
Topic: FB Calling Convention?
Replies: 20
Views: 6590

FB Calling Convention?

Hello all. I was going to try to include an asm function compiled with nasm into an FB program, and was wondering what I need to consider. Is FB's calling convention identical to C's? Also, does fbc put an underscore in front of function names like gcc? What about variables? Thanks!