Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
HACC
« previous
next »
Print
Pages:
1
...
5
6
[
7
]
8
9
10
Go Down
Author
Topic: HACC (Read 23671 times)
0 Members and 1 Guest are viewing this topic.
JonimusPrime
LV6
Super Member (Next: 500)
Posts: 389
Rating: +25/-5
HACC
«
Reply #90 on:
September 04, 2007, 05:00:00 am »
Wow now I have to go and learn C/C++ I didn't even know this project existed.
Logged
"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown
"If you've done something right no one will know that you've done anything at all" -Futurama
"Have a nice day, or not, the choice is yours." Tom Steiner
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
HACC
«
Reply #91 on:
September 04, 2007, 05:41:00 am »
You've made a pretty nice discovery %)
I am myself waiting for it as well, because maybe this could make porting 83+ games to 89 easier if i ever venture into C again
Logged
Halifax
LV9
Veteran (Next: 1337)
Posts: 1334
Rating: +2/-1
HACC
«
Reply #92 on:
September 04, 2007, 06:17:00 am »
Yes it most definitely would. Also why do people group C/C++? C++ is an extension of C, and has many distinguishes differences in my mind. If based of extensions then shouldn't it be B/C/C++/D?
Logged
There are 10 types of people in this world-- those that can read binary, and those that can't.
calc84maniac
eZ80 Guru
Coder Of Tomorrow
LV11
Super Veteran (Next: 3000)
Posts: 2912
Rating: +471/-17
HACC
«
Reply #93 on:
September 04, 2007, 06:19:00 am »
Just so you know, jr is actually faster than jp on average if there's a 50% chance of jumping...
Logged
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
HACC
«
Reply #94 on:
September 04, 2007, 06:21:00 am »
well technically the 89t can only have C, right? I don't think C++ is really that necessary
Logged
Halifax
LV9
Veteran (Next: 1337)
Posts: 1334
Rating: +2/-1
HACC
«
Reply #95 on:
September 04, 2007, 07:36:00 am »
@calc84maniac: I understand that, but what you said was a little flawed. JR has a 25% chance of being faster literally. Which I don't really know if you meant literally though by your post. Anyways this is why the decision is up to the programmer.
Really there is no sense in basing the speed of your routine off of that unless you know that it is more likely to be false which is most definitely not applicable in a compiler!
Also just so you know that logic applies to
any
command supporting conditionals.
@DJ_Omnimaga: No the TI-89t can have C++ if some builds the compiler. Any system can have C or C++ if some builds the compiler. But the problem is no one wants to build the compiler because frankly parsing C++ sucks and is very very hard.
Logged
There are 10 types of people in this world-- those that can read binary, and those that can't.
calc84maniac
eZ80 Guru
Coder Of Tomorrow
LV11
Super Veteran (Next: 3000)
Posts: 2912
Rating: +471/-17
HACC
«
Reply #96 on:
September 04, 2007, 07:40:00 am »
jr average=(7+12)/2=9.5, jp average=(10+10)/2=10. Assuming that there's about a 50% chance that it will do the jump.
Logged
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
Halifax
LV9
Veteran (Next: 1337)
Posts: 1334
Rating: +2/-1
HACC
«
Reply #97 on:
September 04, 2007, 07:45:00 am »
If that's how you do probability...either way as I said there is no way in basing the speed of your routine off of this and it would be best just to stick with the constant of jp. If worst comes to worst then just specify -dump-intfiles, optimize it to your liking, and then assemble and link it with the rest of your program.
Logged
There are 10 types of people in this world-- those that can read binary, and those that can't.
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
HACC
«
Reply #98 on:
September 04, 2007, 07:56:00 am »
QuoteBegin-Halifax+4 Sep, 2007, 14:36-->
QUOTE
(Halifax @ 4 Sep, 2007, 14:36)
@DJ_Omnimaga: No the TI-89t can have C++ if some builds the compiler. Any system can have C or C++ if some builds the compiler. But the problem is no one wants to build the compiler because frankly parsing C++ sucks and is very very hard.
yeah i was more talking about the fact there's no compiler that can do it yet, Idk what would be the point to write one tho, because C is alerady good enough and its a calc anyway
Logged
Halifax
LV9
Veteran (Next: 1337)
Posts: 1334
Rating: +2/-1
HACC
«
Reply #99 on:
September 04, 2007, 08:00:00 am »
Hmm yes C is fine which is why I advocate for it, but many people say it is easier to program in C++. Although I must admit that C++ is better for engine development and also GUI development, it is nothing that C can't handle.
Logged
There are 10 types of people in this world-- those that can read binary, and those that can't.
bfr
LV8
Addict (Next: 1000)
Posts: 819
Rating: +4/-0
HACC
«
Reply #100 on:
September 04, 2007, 11:09:00 am »
QuoteBegin-Halifax+4 Sep, 2007, 11:17-->
QUOTE
(Halifax @ 4 Sep, 2007, 11:17)
Yes it most definitely would. Also why do people group C/C++? C++ is an extension of C, and has many distinguishes differences in my mind. If based of extensions then shouldn't it be B/C/C++/D?
For the most part, C++ is backwards-compatible with C, and C and C++ seem to be the most common.
Logged
bfr's website -
http://bfr.tifreakware.net
Liazon
Guest
HACC
«
Reply #101 on:
September 04, 2007, 12:08:00 pm »
QuoteBegin-Halifax+4 Sep, 2007, 13:45-->
QUOTE
(Halifax @ 4 Sep, 2007, 13:45)
If that's how you do probability...either way as I said there is no way in basing the speed of your routine off of this and it would be best just to stick with the constant of jp. If worst comes to worst then just specify -dump-intfiles, optimize it to your liking, and then assemble and link it with the rest of your program.
I agree with you. Sometimes i find just by design, the chance of the jr jumping is less than not jumping by a lot. when that's the case, I usually use jp. the space is no big issue for me atm because i'm doing mainly apps.
btw, i think you might as well try to make a java interpreter/compiler for 8x+ instead of C++. i started learning recently and it's awesome.
Logged
Halifax
LV9
Veteran (Next: 1337)
Posts: 1334
Rating: +2/-1
HACC
«
Reply #102 on:
September 04, 2007, 12:34:00 pm »
@bfr: D is also backwards compatible with C and C++, and it holds immense popularity already! Mainly because you can link to C and C++ libraries which means OpenGL, DirectX, SDL, Qt, and every other great library is available for D!
*
Halifax
Logged
There are 10 types of people in this world-- those that can read binary, and those that can't.
Liazon
Guest
HACC
«
Reply #103 on:
September 05, 2007, 12:09:00 pm »
^^ sorry i meant 68k lol.
Logged
bfr
LV8
Addict (Next: 1000)
Posts: 819
Rating: +4/-0
HACC
«
Reply #104 on:
September 05, 2007, 12:14:00 pm »
Halifax: Hmmm, I'll have to get into more D programming. Hacc is going to support Flash applications? That's awesome!
Logged
bfr's website -
http://bfr.tifreakware.net
Print
Pages:
1
...
5
6
[
7
]
8
9
10
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
HACC