Z64

Please login or register.

Login with username, password and session length
Advanced search  

News:

Check out and improve the wiki!

Pages: 1 [2] 3 4 5

Author Topic: Random junk  (Read 17856 times)

Marshall

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • 64.vg
    • Email
Re: Random junk
« Reply #15 on: January 06, 2011, 06:53:19 AM »

...besides that it's officially of course M$ .NET Windows-only :P
No.

xdaniel

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 295
    • ICQ Messenger - 136250978
    • View Profile
Re: Random junk
« Reply #16 on: January 06, 2011, 12:34:36 PM »

...besides that it's officially of course M$ .NET Windows-only :P
No.
Emphasis on officially; it's not an official Microsoft project, is it?
Logged
cu xdaniel

Nanami - Desktop:

Kazari - Notebook:

Marshall

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • 64.vg
    • Email
Re: Random junk
« Reply #17 on: January 06, 2011, 03:07:52 PM »

...besides that it's officially of course M$ .NET Windows-only :P
No.
Emphasis on officially; it's not an official Microsoft project, is it?
No it is not, but C# is not as closed and proprietary as you make it out to be, and Mono features a very feature complete implementation of it, as well as most of the .NET libraries (except for some Windows GUI stuff). Microsoft obviously wants people to use their programming language.

xdaniel

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 295
    • ICQ Messenger - 136250978
    • View Profile
Re: Random junk
« Reply #18 on: January 06, 2011, 03:30:23 PM »

Okay, sorry that I've been wrong. It's just that despite Mono, I (and probably others) still have the general notion of the whole thing being proprietary and all, because of how it originated at Microsoft... Reading up on it, tho, C# has apparently even been approved as ex. an ISO standard later on, so all the more reason to get rid of that notion.
Logged
cu xdaniel

Nanami - Desktop:

Kazari - Notebook:

Marshall

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • 64.vg
    • Email
Re: Random junk
« Reply #19 on: January 06, 2011, 04:56:09 PM »

Okay, sorry that I've been wrong. It's just that despite Mono, I (and probably others) still have the general notion of the whole thing being proprietary and all, because of how it originated at Microsoft... Reading up on it, tho, C# has apparently even been approved as ex. an ISO standard later on, so all the more reason to get rid of that notion.
Yes  :)

Start writing everything in C# where possible - you will find yourself with less headaches, and your (impressive) productivity will double. Plus it's easier on the newbies around here, who aren't too interested in learning what is basically a high level assembly language (C).

xdaniel

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 295
    • ICQ Messenger - 136250978
    • View Profile
Re: Random junk
« Reply #20 on: January 08, 2011, 05:18:10 AM »



C# really is nice, yeah. The GUI so far would've probably taken ages with anything else, besides maybe VB.

Also, 06:16 am. Bedtime.

And also, that game's horribly unorganized internally :P
Logged
cu xdaniel

Nanami - Desktop:

Kazari - Notebook:

xdaniel

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 295
    • ICQ Messenger - 136250978
    • View Profile
Re: Random junk
« Reply #21 on: January 11, 2011, 03:17:16 AM »



Kunio's internals suck. So here's this little Mega Man GB thingy... No editing yet, but hopefully more or less trivial to implement.



EDIT: http://www.romhacking.net/forum/index.php/topic,12022.0.html
« Last Edit: January 12, 2011, 07:51:41 PM by xdaniel »
Logged
cu xdaniel

Nanami - Desktop:

Kazari - Notebook:

xdaniel

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 295
    • ICQ Messenger - 136250978
    • View Profile
Re: Random junk
« Reply #22 on: January 27, 2011, 04:20:31 PM »

http://magicstone.de/dzd/random/wily/WilysToolbox-v051.rar



Also, quoting myself quoting myself:

Quote
Bumping this because of v0.5.1 being released a few days ago, see first post, and a few new screenshots of features not yet public. Hope that's okay.

Quote


Here's what the disabled menu entry "Show structure" is supposed to show once it's done - a representation of the current level in tree form. It's not yet showing objects, doesn't allow editing (not sure if I'll even implement that) and has a few bugs, so it's still a while off.



Block editor is nearly done, although the UI isn't exactly pretty and it still has some visual bugs.

Also interesting is the level-specific ASM code, which is responsible for things like conveyor belts or insta-kill spikes. It's pretty easy to make blocks with custom behaviours that way, as long as you know your way around GBZ80 assembler somewhat - like a block that, when stepping onto it, turns Mega Man invincible for a few seconds, by manually setting the invincibility counter in RAM that's used after being hit by an enemy.
Logged
cu xdaniel

Nanami - Desktop:

Kazari - Notebook:

marshallh

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: Random junk
« Reply #23 on: January 28, 2011, 06:44:47 AM »

Spent the past day slaving away trying to create something similar with MFC / VC++.

What a bitch. If only the c# ide wasn't so danged slow.
Logged

xdaniel

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 295
    • ICQ Messenger - 136250978
    • View Profile
Re: Random junk
« Reply #24 on: January 28, 2011, 10:51:19 AM »

Yeah, the VC# IDE is pretty awful in that regard. Especially the startup and loading a project takes ages, compared to ex. CodeBlocks and loading in the files of OZMAV2 plus libraries; editing, etc. isn't all that much better, either. Hell, the auto-correction/-completion tends to kick in after I've already fixed the offending line.
Logged
cu xdaniel

Nanami - Desktop:

Kazari - Notebook:

xdaniel

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 295
    • ICQ Messenger - 136250978
    • View Profile
Re: Random junk
« Reply #25 on: February 27, 2011, 11:32:01 PM »



Kinda felt like "righting the wrongs" I've done with my previous GB emulator, dunno how far I'll take this, tho. Can load ROMs and can execute approximately... five opcodes - thus the CPU core is even less than very, very incomplete; it doesn't even increase the PC correctly, as you can see with the LD opcode at 0x20D. Nevermind LCDC, timer, MBCx, input or sound emulation...

EDIT:
Log started 02.03.2011 00:57:59
0x0100: 00     - NOP                  | AF:01B0 BC:0013 DE:00D8 HL:014D | Z-HC
0x0101: C35001 - JP 0x0150            | AF:01B0 BC:0013 DE:00D8 HL:014D | Z-HC
0x0150: C30C02 - JP 0x020C            | AF:01B0 BC:0013 DE:00D8 HL:014D | Z-HC
0x020C: AF     - XOR A                | AF:0080 BC:0013 DE:00D8 HL:014D | Z---
0x020D: 21FFDF - LD HL, 0xDFFF        | AF:0080 BC:0013 DE:00D8 HL:DFFF | Z---
0x0210: 0E10   - LD C, 0x10           | AF:0080 BC:0010 DE:00D8 HL:DFFF | Z---
0x0212: 0600   - LD B, 0x00           | AF:0080 BC:0010 DE:00D8 HL:DFFF | Z---
0x0214: 32     - LDD (HL), A          | AF:0080 BC:0010 DE:00D8 HL:DFFE | Z---
0x0215: 05     - DEC B                | AF:0060 BC:FF10 DE:00D8 HL:DFFE | -NH-
0x0216: 20FC   - JR NZ, 0xFC          | AF:0060 BC:FF10 DE:00D8 HL:DFFE | -NH-
0x0214: 32     - LDD (HL), A          | AF:0060 BC:FF10 DE:00D8 HL:DFFD | -NH-
0x0215: 05     - DEC B                | AF:0040 BC:FE10 DE:00D8 HL:DFFD | -N--
0x0216: 20FC   - JR NZ, 0xFC          | AF:0040 BC:FE10 DE:00D8 HL:DFFD | -N--
0x0214: 32     - LDD (HL), A          | AF:0040 BC:FE10 DE:00D8 HL:DFFC | -N--
0x0215: 05     - DEC B                | AF:0040 BC:FD10 DE:00D8 HL:DFFC | -N--
0x0216: 20FC   - JR NZ, 0xFC          | AF:0040 BC:FD10 DE:00D8 HL:DFFC | -N--
0x0214: 32     - LDD (HL), A          | AF:0040 BC:FD10 DE:00D8 HL:DFFB | -N--
... ... ...


Well, among some other things, the CPU core's pretty much done, so Tetris runs long enough to shuffle tiles and the tilemap for the copyrights into RAM and the VBLANK interrupt is being fired periodically... so next up is probably more LCDC emulation and actual video output.
« Last Edit: March 02, 2011, 12:05:53 AM by xdaniel »
Logged
cu xdaniel

Nanami - Desktop:

Kazari - Notebook:

xdaniel

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 295
    • ICQ Messenger - 136250978
    • View Profile
Re: Random junk
« Reply #26 on: March 02, 2011, 08:37:27 PM »



Game dies a horrible death shortly afterwards, tho...

EDIT: A few minor bugfixes, mainly in the CPU core, later...



Sprites and input aren't done yet, so nothing further to show here for now... Japanese version because I was under the impression that the western versions used a different MBC chip, which they don't; they also use the MBC1 and also run as far as this.

EDIT 2: Here we do have a case of MBC chip differences between versions:



Japanese is MBC1, western versions are MBC3 I believe.

EDIT 3: Pokemon Red JPN, Kirby's Dreamland, Tetris and Super Mario Land:



Bugs: Countless, what I know of is ex. missing sprite-to-sprite priority (my code seems broken), sprites and windows tend to flicker slightly, MBC1 external RAM handling probably broken (saving isn't in yet, but ex. Zelda doesn't even create a savegame), no FPS limit in place so everything runs too fast, etc., etc.

EDIT 4: MBC1 external RAM working now, forgot one call to the MBC1 memory writing function...



Screenshots 2 and 3 demonstrate some of the bugs I mentioned, namely the slight sprite/window flickering (see at the item selection cursor) and sprite-to-sprite priority (the boy standing on top of Link's head).
« Last Edit: March 03, 2011, 08:45:17 PM by xdaniel »
Logged
cu xdaniel

Nanami - Desktop:

Kazari - Notebook:

Arcaith

  • Administrator
  • Full Member
  • *****
  • Posts: 152
  • Keeping it real. Or something.
    • MSN Messenger - henna.gaikokujin@gmail.com
    • View Profile
    • Email
Re: Random junk
« Reply #27 on: March 04, 2011, 05:12:45 AM »

Still, looking pretty impressive, dude :D

Got one question though; why is the window so big compared to the display area? Debug stuff that you've hidden?
Logged
pantsu~

xdaniel

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 295
    • ICQ Messenger - 136250978
    • View Profile
Re: Random junk
« Reply #28 on: March 04, 2011, 05:10:44 PM »

Nope, just hadn't worked on the GUI all that much before, so it looked more or less like crap :P

Here's some more recent screenshots:


Logged
cu xdaniel

Nanami - Desktop:

Kazari - Notebook:

xdaniel

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 295
    • ICQ Messenger - 136250978
    • View Profile
Re: Random junk
« Reply #29 on: March 15, 2011, 03:24:33 AM »

Random screenshots, from different days, blah:




Logged
cu xdaniel

Nanami - Desktop:

Kazari - Notebook:
Pages: 1 [2] 3 4 5