Search found 18 matches
- Wed Apr 20, 2011 12:31 am
- Forum: Regen
- Topic: Regen 0.972 and 0.972D
- Replies: 193
- Views: 392481
Probably isn't worth making a new thread for: I'm just wondering if the image display is meant to go grey when you go into either of the CPU debuggers or ROM editor. Is this the expected behaviour for the current version? Additionally program sometimes terminates when clicking OK in the 68k debugger...
- Sat Apr 02, 2011 9:16 pm
- Forum: Megadrive/Genesis
- Topic: Hello world. It works, but... (controller interrupts?)
- Replies: 24
- Views: 16284
- Sat Apr 02, 2011 8:48 pm
- Forum: Megadrive/Genesis
- Topic: Hello world. It works, but... (controller interrupts?)
- Replies: 24
- Views: 16284
Controller cannot generate interrupts as the interrupt generating capable pin goes to controller not comes from controller. I see, so my next question is why is this!? Would it not have been relatively easy and sensible for Sega to implement this? Is there any use for it the way it's configured? Th...
- Sat Apr 02, 2011 8:20 pm
- Forum: Megadrive/Genesis
- Topic: Hello world. It works, but... (controller interrupts?)
- Replies: 24
- Views: 16284
I'm not sure if that answers my question - does a standard controller cause interrupts to happen? To get an interrupt happen from controller port you need to enable it and have something pull the TH line low from controller side. What I mean is does this^ actually happen or not? Only with special pe...
- Sat Apr 02, 2011 1:32 am
- Forum: Megadrive/Genesis
- Topic: Hello world. It works, but... (controller interrupts?)
- Replies: 24
- Views: 16284
Having on and off progress with this project which explains why I'm only asking this question now: Do the controllers not perform external/peripheral interrupts? From all the code/document reading I've done I don't think I've read about it being possible, it seems like you have to manually poll regu...
- Thu Mar 24, 2011 11:56 am
- Forum: Sound
- Topic: Simple 4-channel sample player
- Replies: 45
- Views: 63370
- Tue Mar 08, 2011 1:10 pm
- Forum: Megadrive/Genesis
- Topic: Hello world. It works, but... (controller interrupts?)
- Replies: 24
- Views: 16284
The official doc clearly states CD5 must be set to trigger DMA operations. The page you read is for normal read/Write operations, read a few pages after for DMA. In a sense, it's a little bit logical, how would VDP make the difference from normal write/read operations otherwise ? Hmm fair point I g...
- Mon Mar 07, 2011 3:48 pm
- Forum: Megadrive/Genesis
- Topic: Hello world. It works, but... (controller interrupts?)
- Replies: 24
- Views: 16284
Oh so thanks again for the informations guys! My next issue I'm having is DMA. I've been trying to learn how to do this before moving on to other parts of the system. I've spent a couple of days or so now trying to work this out myself referring to sega2 and genvdp.txt Even compared against TMEE's D...
- Fri Mar 04, 2011 7:38 pm
- Forum: Megadrive/Genesis
- Topic: Does any sort of (user) OS or native assembler exist for MD?
- Replies: 6
- Views: 6002
I test on emu + real HW. If it does not work on HW i'll start deaking with idle loops and debug info displaying. Hmm, do you include debugging code in the ROM or use the debug features of an emu? or both? Are you going to edit your code with... a gamepad ?? Anyway i'm not sure that native assembler...
- Thu Mar 03, 2011 1:14 pm
- Forum: Megadrive/Genesis
- Topic: Does any sort of (user) OS or native assembler exist for MD?
- Replies: 6
- Views: 6002
Does any sort of (user) OS or native assembler exist for MD?
I probably would have already found this by now if it did, but just incase, does anything like this exist? I'm looking for some kind of tool to quickly edit and run code on the MD itself to save me having to rewrite ROM file to SD (Everdrive) for the sake of a couple of bytes edit. As I'm still new ...
- Fri Feb 11, 2011 1:41 pm
- Forum: Megadrive/Genesis
- Topic: Hello world. It works, but... (controller interrupts?)
- Replies: 24
- Views: 16284
Thanks again Chilly Willy! I have other more general questions relating to programming in assembly. Probably best not to start a new thread since it follows on from my hello world thing. I'm wondering about why programmers seem to do things like use bsr for subroutines that are only run once at the ...
- Wed Feb 09, 2011 10:25 pm
- Forum: Megadrive/Genesis
- Topic: Hello world. It works, but... (controller interrupts?)
- Replies: 24
- Views: 16284
No such thing as an "asm compiler", but there are assemblers. The assembler converts assembly language into machine language. And yes, an assembler is needed because the compiler outputs assembly language. Ah yes, I initially wrote "assembler" and for some reason it didn't look right so I changed i...
- Wed Feb 09, 2011 9:21 pm
- Forum: Megadrive/Genesis
- Topic: Hello world. It works, but... (controller interrupts?)
- Replies: 24
- Views: 16284
I'm familiar with the potential for efficiency when coding with asm, otherwise probably no one would still use it (?) I was asking why there are asm compilers bundled with the sdk, considering all of the code files are written in c. Are the asm comilers still required to compile c to binary somewher...
- Tue Feb 08, 2011 12:48 am
- Forum: Megadrive/Genesis
- Topic: Hello world. It works, but... (controller interrupts?)
- Replies: 24
- Views: 16284
- Thu Feb 03, 2011 2:48 am
- Forum: Megadrive/Genesis
- Topic: Hello world. It works, but... (controller interrupts?)
- Replies: 24
- Views: 16284
Hello world. It works, but... (controller interrupts?)
So I finally got a little hello world working in emulators, thought I'd try it on hardware via Everdrive, and to my delight, it worked! A little HELLO WORLD is printed in the top left of plane a :) However, for some reason, the Licensed by Sega Enterprises Ltd remains in the middle of the screen. No...