-
Content Count
266 -
Joined
-
Last visited
Content Type
Profiles
Member Map
Forums
Blogs
Gallery
Calendar
Store
Everything posted by fox
-
so do I I think that one of Numen effects could be called "official vector demo". And Numen will be released at LL 2k2 (first weekend of August).
-
Hvn is right. For perspective calculation (which involves division), I quickly compute fixed point 1/x (with help of some lookup tables) and then multiply.
-
Let ^ be "raise to power". (a+b)^2=a^2+2*a*b+b^2 (a-b)^2=a^2-2*a*b+b^2 (a+b)^2-(a-b)^2=4*a*b a*b=((a+b)^2-(a-b)^2)/4 The good thing is that it works for any a and b, including negative. I wrote an article about this (with code examples) in a Polish disk magazine. And I use this method in my Vector engine, of course. fox PS. Polish football players suck!
-
If talking about general multiplication routine, then: a * b = f(a+b) - f(a-b) where f(x) = x * x / 4 (using lookup table).
-
These statements simply don't comply xasm syntax. You should write: dta <start,>start note no space or dta a(start)
-
Ok, what byte use to fill ($FF or $00) ?
-
There are several problems like: at what address the cart starts, what size it is, etc. I don't think replacing orgs with -* dta is so problematic.
-
a) sta temp :3 asl @ sub temp b) tax:lda mulBy7LookupTable,x
-
ORG $F000 LDA #$42 STA $80 :$F100-* DTA $FF LDA #$77 STA $81 greetz, fox
-
Hi all, Now I don't think that hw regs abbreviations are as cool as when I invented them. But they may have a purpose: in 5200 there're same chips, but at different locations (e.g. POKEY is at $e800). I can easily implement an option to compile for 5200, which could help in porting 400/800/XL/XE software; if someone's interested. Please describe your problems in using Code-Genie. Hvn: you've forgotten that I participated in the CC65 project (or are you not aware of it?).
