Author Topic: Playing with the ObeyBrew tutorials  (Read 2925 times)

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: Playing with the ObeyBrew tutorials
« Reply #15 on: May 15, 2012, 10:06:29 AM »
get the Win32 version.  I use it with 64-bit Windows 7, no probrem!
[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.

soop

  • Hero Member
  • *****
  • Posts: 2828
Re: Playing with the ObeyBrew tutorials
« Reply #16 on: May 15, 2012, 10:19:34 AM »
get the Win32 version.  I use it with 64-bit Windows 7, no probrem!


Dammit... I can't find  win 32 version - at least it doesn't specifically state win 32...  Which one on here?

http://www.zeograd.com/huc_download.php

Sadler

  • Hero Member
  • *****
  • Posts: 1065
Re: Playing with the ObeyBrew tutorials
« Reply #17 on: May 15, 2012, 11:44:13 AM »
I can't install HuC - I'm using this one http://www.zeograd.com/download_presentation.php?lang=en&id=312
does it work in Windows 7?  I'm trying to unpack it and click huc.exe.


Maybe I'm missing something here, but to compile you don't want to double click, you want to run it from the command line so that you can specify arguments (like say the file to compile :) ).

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: Playing with the ObeyBrew tutorials
« Reply #18 on: May 15, 2012, 11:50:36 AM »
The section under "Win"

[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: Playing with the ObeyBrew tutorials
« Reply #19 on: May 15, 2012, 03:49:53 PM »
It also helps to read the instructions. :)

spenoza

  • Hero Member
  • *****
  • Posts: 2751
Re: Playing with the ObeyBrew tutorials
« Reply #20 on: May 15, 2012, 04:29:50 PM »
Yeah, don't skip the path parts.
<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

soop

  • Hero Member
  • *****
  • Posts: 2828
Re: Playing with the ObeyBrew tutorials
« Reply #21 on: May 15, 2012, 10:11:37 PM »
It also helps to read the instructions. :)

It helps to understand the instructions at least.  I don't have much idea what to do.  Can someone give me a step by step?

nodtveidt

  • Guest
Re: Playing with the ObeyBrew tutorials
« Reply #22 on: May 16, 2012, 01:47:33 AM »
To be fair, the instructions aren't very well-written... much like the rest of the documentation. There's really nothing to "install" though... you just copy the files to somewhere on your hard drive and make some changes to the environment variables.

The two important directories are bin and include. Copy the contents of bin to somewhere in your path, and copy the include folder to... well, just about anywhere... as long as you remember where it is. The meager instructions suggest putting it in a folder called magickit on the root of C:... so you'd have C:\magickit\include. You will need to add one environment variable; to do that, go to System Properties (on sane Windows systems, you do this by right-clicking on My Computer and going to Properties... but I don't know if that's changed for recent, retarded Windows versions). On the Advanced tab, there's a button at the bottom called "Environment Variables". There are two types: User and System. You can add the information to either section. Just click New and a dialog pops up. For Variable name, enter PCE_INCLUDE. For Variable value, enter c:\magickit\include or whatever folder you put it in. Oh, and while you're here, you can check the value of PATH if you need to... make sure the contents of bin are copied to somewhere in the path, not the folder itself. C:\WINDOWS (or wherever your Windows installation is) is always in the path, you could just put the files there. For your reference, you will really only need huc.exe, pceas.exe, and isollink.exe... you can skip nesasm.exe and pcxtool.exe

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: Playing with the ObeyBrew tutorials
« Reply #23 on: May 16, 2012, 01:50:08 AM »
You are adding the stuff to your path variable so that you can run them from ANY directory on the commandline.

so you can be at G:\touch\yourself\every\night\  and still be like

huc fapfapfap.c

Even though you have HuC installed at C:\HuC, for example.

and the PCE_INCLUDE is just a system variable that is used so Huc knows where the hell all of its files are sitting.

You dont HAVE to have them, but it will make your life infinity times easier.
[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.

soop

  • Hero Member
  • *****
  • Posts: 2828
Re: Playing with the ObeyBrew tutorials
« Reply #24 on: May 16, 2012, 02:55:16 AM »
Ok, that's grand, thanks both :)

And Arkhan, you make me laugh :D

I'm seriously considering buying a new laptop/netbook so I can do some coding on the bus/pub/lunch/park/while the TV is on.  I was thinking about it a while ago, but I haven't had my own laptop since about 3 years ago when my little vaio died.

I know an atom CPU will be enough for HuC, though I have my doubts about media centre, or XNA if I get there.

_joshuaTurbo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5160
Re: Playing with the ObeyBrew tutorials
« Reply #25 on: May 17, 2012, 02:50:34 AM »
isn't it true, that you can just take your (ex: hello.c) file and drop it on top of the the huc.exe program to compile regardless of if you set up the environment variables?

What if you did the drag and drop method and still only get a hello.s file with no hello.pce file to be found?

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: Playing with the ObeyBrew tutorials
« Reply #26 on: May 17, 2012, 02:52:51 AM »
isn't it true, that you can just take your (ex: hello.c) file and drop it on top of the the huc.exe program to compile regardless of if you set up the environment variables?

What if you did the drag and drop method and still only get a hello.s file with no hello.pce file to be found?


this is ill advised. 

It can't find the pce assembler (pceas.exe), and that is why you do not get a PCE. 

it goes huc-->makes a .s---->goes into assembler---->puts out a PCE rom.
[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: Playing with the ObeyBrew tutorials
« Reply #27 on: May 17, 2012, 03:51:00 AM »
If you drag n drop the hello.c and get hello.s but no hello.pce, then you could just drag n drop hello.s onto pceas.exe and get hello.pce. :) It's just rather silly to go through all of that when you can just do "huc hello.c" on the command line.

_joshuaTurbo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5160
Re: Playing with the ObeyBrew tutorials
« Reply #28 on: May 17, 2012, 04:59:09 AM »
where I was running into problems was actually an error in my code.  (imagine that).

On a side note, my boss said it might be benificial for me to run through some C tutorials between projects in my down time, so I'm planning on messing around with huc for today and tomorrow for the most part.

That's right, I'm actually getting paid to pretend develop for PC Engine.  ;)

roflmao

  • Hero Member
  • *****
  • Posts: 4830
Re: Playing with the ObeyBrew tutorials
« Reply #29 on: May 17, 2012, 05:05:01 AM »
That's right, I'm actually getting paid to pretend develop for PC Engine.  ;)

Nice!