
| · Forums and IRC Rules · Portal |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
| Today's Top 10 Posters · My Last 10 Posts | Board and IRC Rules · Help · Members · Calendar |
| Forum | Topics | Replies | Last Post Info | |
|---|---|---|---|---|
![]() |
Older topics Here you can access all topics posted from May 12th 2005 to Apr 9th 2006 (In read only mode). |
1126 | 15694 | 9 Apr, 2006, 11:06 In: [GAME]Learn how to count to...By: DJ Omnimaga |
| Pages: (10) [1] 2 3 ... Last » ( Go to first unread post ) | ![]() ![]() ![]() |
| Halifax |
Posted: 21 Jan, 2007, 1:50
|
![]() Game and Utility programmer Group: Coders Of Tomorrow Posts: 1345 Member No.: 104 Joined: 10 Jul, 2006 |
Well after polishing up my C++ skills I figured as a little side project I would work on this. I have already made a command-line interpreter that finds out what file to read from and what file to write to. I have also got a basic parser setup that finds all C functions in a given line I just need to setup how it compiles to assembly and dynamic memory allocation. Is there anything you guys would like to see in this?
This post has been edited by Halifax on 31 Aug, 2007, 19:26 -------------------- MapEd: 50%
ListCompress: 100% CutSEd: 0% |
| CureDesu |
Posted: 21 Jan, 2007, 8:50
|
![]() Ultimate Member Group: Members Posts: 186 Member No.: 103 Joined: 9 Jul, 2006 |
If you do this, you will be my hero... Seriously, do it!
-------------------- [URL=http://userbars.org][IMG]http://img367.imageshack.us/img367/2719/asmvu0.png[/IMG][/URL]
[URL=http://www.curedesu.wordpress.com]Boku no "blog" da![/URL] |
| trevmeister66 |
Posted: 21 Jan, 2007, 9:20
|
||
|
Post whore Group: Members Posts: 532 Member No.: 290 Joined: 8 Jan, 2007 |
What he said. -------------------- ~~~~~~~Project Status~~~~~~~
Age of War > .1% < Retransfering Sprites Baseball > 2% < Menu's Learning ASM > 10% < Started first game, and have no idea what I'm doing ![]() (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. |
||
| Liazon |
Posted: 21 Jan, 2007, 9:42
|
|
Staff Group: Coders Of Tomorrow Posts: 1491 Member No.: 24 Joined: 11 Apr, 2006 |
Definitely. This realm still needs lots of work seeing as few to none of the existing C z80 compilers have displaced the need for ASM programmers.
-------------------- Projects: In need of sprites...
|
| xlibman |
Posted: 21 Jan, 2007, 11:07
|
![]() Ragol666 Group: Founder Posts: 11283 Member No.: 1 Joined: 9 Apr, 2006 |
wow amazing, something like TIGCC (of course restricted to 83+ limitations) would rule the world of z80 calcs!
-------------------- |
| Halifax |
Posted: 21 Jan, 2007, 15:01
|
![]() Game and Utility programmer Group: Coders Of Tomorrow Posts: 1345 Member No.: 104 Joined: 10 Jul, 2006 |
Yes thank you guys but I don't exactly know how TIGCC compiles and stuff but I will make this so that it compiles into Assembly code and then it will compile that code with TASM and Devpac83 so all you need to do is write the C code and compile.
NOTE: I don't know if I will be able to use typedef but also another note is that it will have inline assembly also so you can setup ASM routines to work with zC80. I am currently worknig on dynamic allocation with the 'int' function and once that is done making the rest should be easy riding I don't know if I will be able to include typedef and some other complicated C stuff like union and structure pointing -------------------- MapEd: 50%
ListCompress: 100% CutSEd: 0% |
| Spellshaper |
Posted: 21 Jan, 2007, 17:48
|
![]() rectangular puddle Group: Coders Of Tomorrow Posts: 1996 Member No.: 5 Joined: 10 Apr, 2006 |
That woud be neat-o.
Time to polish my C++ skills... I think I lost them over the years... -------------------- The tooth fairy teaches children that they can sell body parts for money.
All power corrupts, but I need the electricity! I gave sanity a shot... not my fault it failed >_<! |
| Liazon |
Posted: 21 Jan, 2007, 19:41
|
|
Staff Group: Coders Of Tomorrow Posts: 1491 Member No.: 24 Joined: 11 Apr, 2006 |
TIGCC uses GCC as its base for compiling to 68k ASM and then creating binaries.
Most of the existing C compilers for z80 ASM will try to compile into an ASM file (not yet assembled) and then try to optimize the ASM code before creating working binaries. This is a good idea because trying to use an 8-bit version of GCC (if one exists) probably wouldn't generate very optimized code. At the very least, I think people would probably want to see basic if, else, while, for, switch/case, etc. Things like malloc might not be worth the trouble since it's not very feasible on z80. Most variable use in ASM is either static or for SMC use. malloc is useable on 68k calcs because their AMS software already has a system to handle dynamic memory allocation. the z80 calc OS do not afaik. -------------------- Projects: In need of sprites...
|
| Halifax |
Posted: 23 Jan, 2007, 17:44
|
![]() Game and Utility programmer Group: Coders Of Tomorrow Posts: 1345 Member No.: 104 Joined: 10 Jul, 2006 |
What I have learned:
This information comes straight from Kevin Kofler. You would only need to write a backend for the GCC compiler instead of a frontend. This is where z88dk failed by only trying to write a frontend for the GCC compiler. Also to compile the bins he has recommended using Binutils. I would want to use 'as' and then 'ld' or 'ld-tigcc'. Also I could port the libraries from TIGCC to z80-GCC with some work for the z80 calcs. Now I have a proposition. Proposition: I am looking for skilled C/C++ programmers that are willing to work on this porject with a group. TO keep this project clean, simple, and effcient there will be coding standards, a detailed dynamic list for bug reports and a todo list. This will help with interfacing with different programmers. Now I am only looking for a maximum of 9 programmers and a minimum of 3 programmers including me. If you want to tryout email me at EmberstoAshes243@hotmail.com. -------------------- MapEd: 50%
ListCompress: 100% CutSEd: 0% |
| elfprince13 |
Posted: 23 Jan, 2007, 17:58
|
![]() Post whore Group: Members Posts: 628 Member No.: 47 Joined: 21 Apr, 2006 |
you might want to talk to me on AIM at some point, I can help with this.
credentials: experience with 20 programming languages (including z80 asm and C) working knowledge of memory management, Context Free Grammars, and how compilers work. -------------------- [URL=http://rancidmoose.unitedti.org/forum]StickFigure Graphic Productions[/URL] || [URL=http://rancidmoose.unitedti.org/zeldaforum.php]Legend of Zelda :: Online Experience[/URL]
|
| Halifax |
Posted: 23 Jan, 2007, 18:13
|
![]() Game and Utility programmer Group: Coders Of Tomorrow Posts: 1345 Member No.: 104 Joined: 10 Jul, 2006 |
what is your AIM s/n im on there now
-------------------- MapEd: 50%
ListCompress: 100% CutSEd: 0% |
| JincS |
Posted: 23 Jan, 2007, 23:19
|
|
Ultimate Member Group: Members Posts: 184 Member No.: 91 Joined: 15 Jun, 2006 |
I might be able to help:
4 Years C/C++ experience Intel x86 asm (no z80 asm) HTML/HP/blady-blah... -------------------- [IMG]http://i5.photobucket.com/albums/y195/JincS/logo.png[/IMG]
©2004-2007 JincS, Inc. All Rights Reserved. |
| Halifax |
Posted: 24 Jan, 2007, 13:24
|
![]() Game and Utility programmer Group: Coders Of Tomorrow Posts: 1345 Member No.: 104 Joined: 10 Jul, 2006 |
JincS do you know how compilers work and about writing backends and binutils??
-------------------- MapEd: 50%
ListCompress: 100% CutSEd: 0% |
| JincS |
Posted: 24 Jan, 2007, 14:12
|
|
Ultimate Member Group: Members Posts: 184 Member No.: 91 Joined: 15 Jun, 2006 |
Som e. I'm working on a compiler/interpreter for a scripting language I'm developing. But I'm working on learning more.
-------------------- [IMG]http://i5.photobucket.com/albums/y195/JincS/logo.png[/IMG]
©2004-2007 JincS, Inc. All Rights Reserved. |
| bfr |
Posted: 24 Jan, 2007, 14:41
|
||
![]() Post whore Group: Coders Of Tomorrow Posts: 872 Member No.: 31 Joined: 12 Apr, 2006 |
Yes, you talked to Kevin Kofler like I suggested! Also, remember my other suggestions at Psugen....
This will definitely be a revolutionary project when it is finished. I don't know much about programming "backends", but I suggest searching Google, not to be rude. I would help you with programming "backends", but like I said, I don't know much about programming "backends", although I plan to do some research this weekend on it. I could help with the other stuff, though. -------------------- [URL=http://bfr.tifreakware.net]My Website[/URL] - [URL=http://bfr.18.forumer.com]My Forums[/URL] - [URL=http://bfr.tifreakware.net/badips.php]Submit IP Addresses of Spambots and Troublemakers[/URL]
2B || !2B |
||
Pages: (10) [1] 2 3 ... Last » |
![]() ![]() ![]() |