Author Topic: What's the best way to start programming?  (Read 1700 times)

_joshuaTurbo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5160
Re: What's the best way to start programming?
« Reply #15 on: February 16, 2012, 11:00:01 PM »
Is there known issues with HuC crashing? Using XP, I've seen this happen while compiling and even when opening projects taken from zeroigar's domain.

I took the same files, and same HuC download and am trying it with Wine on Linux Mint and it hasn't crashed once yet.......  hmm

guyjin

  • Hero Member
  • *****
  • Posts: 3896
Re: What's the best way to start programming?
« Reply #16 on: February 18, 2012, 05:33:19 AM »
Speaking of Assembly language, do you have any recommendations for books on 6502 assembly language?
"Fun is a strong word." - SNK
"Today, people do all kind of shit." - Tatsujin

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: What's the best way to start programming?
« Reply #17 on: February 18, 2012, 09:04:20 AM »
I like Programming the 6502 by Rodney Zaks.   His books are great. 

Also, 6502 Assembly Language by Leventhal.

I have this other book about the CPUs as well but it costs more.
[Fri 19:34]<nectarsis> been wanting to try that one for awhile now Ope
[Fri 19:33]<Opethian> l;ol huge dong

I'm a max level Forum Warrior.  I'm immortal.
If you're not ready to defend your claims, don't post em.

incrediblehark

  • Hero Member
  • *****
  • Posts: 638
Re: What's the best way to start programming?
« Reply #18 on: February 18, 2012, 10:38:38 AM »
thanks for all of the info! I have been reading up and studying about doing some pce homebrew, wanting to learn 6502 assembly and HuC, but haven't mentioned it until now because I didn't want to be another one of those guys who starts a project and doesn't finish it. I'll definitely check those books out, thanks again!

Bonknuts

  • Hero Member
  • *****
  • Posts: 3292
Re: What's the best way to start programming?
« Reply #19 on: February 18, 2012, 10:11:52 PM »
Is there known issues with HuC crashing? Using XP, I've seen this happen while compiling and even when opening projects taken from zeroigar's domain.

I took the same files, and same HuC download and am trying it with Wine on Linux Mint and it hasn't crashed once yet.......  hmm

 I had similar problems on XP and I solved it by just recompiling HuC and PCEAS.

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: What's the best way to start programming?
« Reply #20 on: February 19, 2012, 04:11:34 AM »
Is there known issues with HuC crashing? Using XP, I've seen this happen while compiling and even when opening projects taken from zeroigar's domain.

I took the same files, and same HuC download and am trying it with Wine on Linux Mint and it hasn't crashed once yet.......  hmm

Are you using the 64bit Windows XP?

If you are, you have to make sure you have the right version of HuC.  Otherwise, all kinds of dumb shit occurs.
[Fri 19:34]<nectarsis> been wanting to try that one for awhile now Ope
[Fri 19:33]<Opethian> l;ol huge dong

I'm a max level Forum Warrior.  I'm immortal.
If you're not ready to defend your claims, don't post em.

nat

  • Hero Member
  • *****
  • Posts: 7085
Re: What's the best way to start programming?
« Reply #21 on: February 19, 2012, 05:40:37 PM »
thanks for all of the info! I have been reading up and studying about doing some pce homebrew, wanting to learn 6502 assembly and HuC, but haven't mentioned it until now because I didn't want to be another one of those guys who starts a project and doesn't finish it.

Now that you have, I'll preemptively go ahead and add your name to the list.

spenoza

  • Hero Member
  • *****
  • Posts: 2751
Re: What's the best way to start programming?
« Reply #22 on: February 19, 2012, 08:01:43 PM »
Maybe we should generate and sticky a post about which HuC download/release is needed on which platform, where to get that release, and where to go for documentation.
<a href="http://www.pcedaisakusen.net/2/34/103/show-collection.htm" class="bbc_link" target="_blank">My meager PC Engine Collection so far.</a><br><a href="https://www.pcenginefx.com/forums/" class="bbc_link" target="_blank">PC Engine Software Bible</a><br><a href="http://www.racketboy.com/forum/" c

nodtveidt

  • Guest
Re: What's the best way to start programming?
« Reply #23 on: February 19, 2012, 08:03:58 PM »
Documentation is a bit scarce... though if I get the chance sometime soon, I'd like to keep going with obeybrew, which is attempting to document the whole mess.

soop

  • Hero Member
  • *****
  • Posts: 2828
Re: What's the best way to start programming?
« Reply #24 on: February 19, 2012, 09:29:14 PM »
Documentation is a bit scarce... though if I get the chance sometime soon, I'd like to keep going with obeybrew, which is attempting to document the whole mess.

I think the way I work best is when I go through tutorials until I know enough to blaze my own trail.  If anyone knows any good tutorials, feel free to link me :)

nodtveidt

  • Guest
Re: What's the best way to start programming?
« Reply #25 on: February 19, 2012, 10:28:13 PM »
Good luck on that... I think the only one who even bothered attempting to write tutorials on using HuC was me, and that was ages ago... never finished them either. Tom started writing some tutorials on using the assembler, but he didn't get very far with that either.

EDIT: I dug up my old tutorial set and am converting it to mediawiki format for obeybrew. There were only 2 tutorials ever finished, but they're pretty solid.
« Last Edit: February 19, 2012, 10:44:29 PM by The Old Rover »

soop

  • Hero Member
  • *****
  • Posts: 2828
Re: What's the best way to start programming?
« Reply #26 on: February 19, 2012, 11:27:30 PM »
Thanks!  Link me when they're done, and I'll check it out :)

The idea I have is for a verical shooter, which I'd imagine wouldn't be too hard.  The complicated stuff is the scoring system and some of the bosses.  In fact, just in case nothing ever happens, I'll expalin the idea.

It was originally intended to be on the 360 with a different weapon for each face button (and represented by that colour).  The PCE would have to have either 6 button support, or I to change and II to fire.

One of the bosses is 4 ships, each a different colour and each with a number.   The colour (as with most enemies in the game) shows it's weakness to a particular weapon, whereas the number tells you which order to attack.  If one of them gets hit out of order, the pattern resets, including any damage done to any of the 4 already deactivated.  This goes on for a few rounds, getting harder.

The scoring system has a score multiplier that gets reset when an enemy escapes, giving you a vested interest in straining to get every enemy.  I'd have to set it up to make sure that it's possible.  BUT, the highest score possible (and this would be a secret) would be if you managed to complete the game without shooting a single bullet (well, without destroying a single enemy).  This would also be possble, but phenominally difficult.

Got a few other ideas as well, generally for neat bosses.  I think in a shooter, innovative bosses can make or break a game.  I want it to be a thinking shooter, almost cryptic.

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: What's the best way to start programming?
« Reply #27 on: February 20, 2012, 01:16:09 AM »
Maybe we should generate and sticky a post about which HuC download/release is needed on which platform, where to get that release, and where to go for documentation.


It's kind of common-sense dude, lol.

You either get the Win32 one, or the DOS one. 



The docs for the PCE for the most part, suck.  if I knew Japanese better, I'd translate the entire develo book and retype that shit, but screw that jive!

Some of the other docs are unclear, and obviously (and admittedly) lazily written.  :-/

Obeybrew could use some tutorials.    The best stuff I saw to learn off of was by uhhh Fagemul, maybe? Or Jycet or something. He had some sprite demo in HuC that spewed a bunch of sprites all over the screen.  That's what I used to figure out and make Insanity happen.

http://zeograd.com/creation_download.php?lang=en&page=4  <<< This one.
[Fri 19:34]<nectarsis> been wanting to try that one for awhile now Ope
[Fri 19:33]<Opethian> l;ol huge dong

I'm a max level Forum Warrior.  I'm immortal.
If you're not ready to defend your claims, don't post em.

nodtveidt

  • Guest
Re: What's the best way to start programming?
« Reply #28 on: February 20, 2012, 01:30:16 AM »
I've converted the two original tutorials I did for the hucdoc project, and just added a third. The tutorials cover both C coding as well as HuC specific stuff. So far, I'm covering the basics... variables and loops mainly on the C side, and basic sprite handling, colors, and text display stuff on the HuC side. And I do it with a lot of corny, stupid attempts at humor to make it less boring. :)

soop

  • Hero Member
  • *****
  • Posts: 2828
Re: What's the best way to start programming?
« Reply #29 on: February 20, 2012, 01:34:38 AM »
And I do it with a lot of corny, stupid attempts at humor to make it less boring. :)

Love it.  I remember doing that with my notes at school.  Actually, I still comment code like that.