Search found 44 matches
- Fri Sep 12, 2014 9:50 am
- Forum: Newbie Help Center
- Topic: Need some help and advice with my collision detection
- Replies: 24
- Views: 7878
Need some help and advice with my collision detection
I have programmed a bit on the NES and it seems to be a fun project to create a game from scratch, so i tried to program a little platformer with my own collision detection scheme (i have not looked at how other games do the detection, it might totally differ from how it would normally be done). I h...
- Wed Aug 20, 2014 5:13 am
- Forum: NESemdev
- Topic: NES emulator for development on Android?
- Replies: 14
- Views: 6286
Re: NES emulator for development on Android?
There is an NES (several cores are available within it) that also supplies it's source code: RetroArch (Multiple platforms are Emulated with it) It has got 3 NES cores to emulate the system, it is available on Google Play, and the source code with a tutorial on how to compile it for Android OS is al...
- Tue Aug 19, 2014 3:52 pm
- Forum: NESdev
- Topic: ASM6 for Android (and possibly other OSes that use an ARM)
- Replies: 14
- Views: 8906
Re: ASM6 for Android (and possibly other OSes that use an AR
Whoops, I somehow misunderstood the term Intent and Activity (should have done research).
After a short research i found this:
http://learnandroid.blogspot.com.tr/200 ... d.html?m=1
This might just be what we were in search of.
After a short research i found this:
http://learnandroid.blogspot.com.tr/200 ... d.html?m=1
This might just be what we were in search of.
- Tue Aug 19, 2014 3:10 pm
- Forum: NESdev
- Topic: ASM6 for Android (and possibly other OSes that use an ARM)
- Replies: 14
- Views: 8906
Re: ASM6 for Android (and possibly other OSes that use an AR
I was under the impression that root would not be needed, as any Activity can start an Intent, and the terminal is an Activity. No need for root applies to the execution of asm6 when it is placed into the specified folder by the app which allows programs to run within terminal emulator. I did alrea...
- Tue Aug 19, 2014 2:40 pm
- Forum: NESdev
- Topic: ASM6 for Android (and possibly other OSes that use an ARM)
- Replies: 14
- Views: 8906
Re: ASM6 for Android (and possibly other OSes that use an AR
Now you also can just type: asm6 example.asm example.nes And it will output an NES file which will be useable with your favorite NES emulator (I use NES.emu) Say I want to write a shell script that builds the file and then starts an NES emulator. Somehow this is done with "intents"; is th...
- Tue Aug 19, 2014 2:18 pm
- Forum: NESdev
- Topic: ASM6 for Android (and possibly other OSes that use an ARM)
- Replies: 14
- Views: 8906
Re: ASM6 for Android (and possibly other OSes that use an AR
Oh, you are right, it should also be possible to type +x to enable execution instead changing all access rights with numbers.lidnariq wrote:While the android security model probably means that that's safe, it'd be better form to use 755, 700, or 500 instead of 777.SNgamer wrote:7) type in: chmod 777 asm6
- Tue Aug 19, 2014 2:08 pm
- Forum: NESdev
- Topic: ASM6 for Android (and possibly other OSes that use an ARM)
- Replies: 14
- Views: 8906
Re: ASM6 for Android (and possibly other OSes that use an AR
Well, here is how to set everything up: 1) Get yourself the Terminal Emulator from the Play Store: https://play.google.com/store/apps/details?id=jackpal.androidterm 2) Start the App, and go to Setting 3) Scroll down to Shell, there should be an option to setup startup commands, I setup the PATH to p...
- Tue Aug 19, 2014 7:24 am
- Forum: NESdev
- Topic: ASM6 for Android (and possibly other OSes that use an ARM)
- Replies: 14
- Views: 8906
ASM6 for Android (and possibly other OSes that use an ARM)
I thought this could be useful for anyone that wishes to compile and test their code on the go, or (if they are in my situation) if they are on vacation only having their tablet (phone) running Android. While being on flight I started to learn how Assembly works and wanted to start coding for our be...
- Mon May 12, 2014 2:33 pm
- Forum: SNESdev
- Topic: [Q]Are resistors enough for converting SNES 5V signal to 3V
- Replies: 17
- Views: 7202
Re: [Q]Are resistors enough for converting SNES 5V signal to
The 74HC family is not; it requires the input be the same logic level it's powered, and I don't think its pins are overvoltage tolerant. The 74HCT family would work, if powered at 5V, because 3.3V from the ROM is above the TTL logic high threshold. The 74LCX16244 is one of the better active solutio...
- Mon May 12, 2014 2:13 pm
- Forum: SNESdev
- Topic: [Q]Are resistors enough for converting SNES 5V signal to 3V
- Replies: 17
- Views: 7202
Re: [Q]Are resistors enough for converting SNES 5V signal to
Thanks, then I have to connect two buffers. I think 74HC245 should be suitable for this, or am I wrong?qwertymodo wrote:SA1 definitely uses the full 16-bit data bus, I'd assume the SDD1 does as well, otherwise they could easily have just use an 8-bit chip instead.
- Mon May 12, 2014 1:38 pm
- Forum: SNESdev
- Topic: [Q]Are resistors enough for converting SNES 5V signal to 3V
- Replies: 17
- Views: 7202
Re: [Q]Are resistors enough for converting SNES 5V signal to
I believe SA-1 uses a 16-bit ROM. I think SDD-1 does too. Yes, they sure do both use 16bit ROMs, but my question is if they also use the 16bit mode of the ROMs, or if they only use 8bits on their ROM chips. I want to know, if I have to hook up D8-D15 to a levelshifter, or if I can leave them just f...
- Mon May 12, 2014 11:55 am
- Forum: SNESdev
- Topic: [Q]Are resistors enough for converting SNES 5V signal to 3V
- Replies: 17
- Views: 7202
Re: [Q]Are resistors enough for converting SNES 5V signal to
100Ω as a current limiter in combination with misusing the overvoltage protection diodes intrinsic to a 3V part is definitely abusing the SNES's address bus drivers. Not only the SNES, but the 29L3211 input buffers :? I forgot a 'k': they're 100KOhm resistors in order to apply 20uA max to each 29L3...
- Sun May 11, 2014 1:33 pm
- Forum: SNESdev
- Topic: [Q]Are resistors enough for converting SNES 5V signal to 3V
- Replies: 17
- Views: 7202
Re: [Q]Are resistors enough for converting SNES 5V signal to
OK, now, if I haven't understood something wrong from what you wrote, the resistors on the addresslines can be used, as long as i consider the timing issue (i read that there is a solution for compensating this capacitance defeating the issue). and for the datalines i would need a levelshifter in or...
- Sun May 11, 2014 12:26 pm
- Forum: SNESdev
- Topic: [Q]Are resistors enough for converting SNES 5V signal to 3V
- Replies: 17
- Views: 7202
Re: [Q]Are resistors enough for converting SNES 5V signal to
Voltage dividers on ROM inputs will draw current from the address lines ALL the time, which is bad. A static current larger than ~1mA from a signal line is Bad and could eventually damage the SNES. 100Ω+200Ω=300Ω ; 5V÷300Ω=17mA. While using substantially larger resistors (say, 3.3kΩ and 6.8kΩ) soun...
- Sun May 11, 2014 9:49 am
- Forum: SNESdev
- Topic: [Q]Are resistors enough for converting SNES 5V signal to 3V
- Replies: 17
- Views: 7202
Re: [Q]Are resistors enough for converting SNES 5V signal to
A voltage divider will take care of the signals going from SNES -> 3.3V devices, but from what I have been told the opposite is what can be damaging in the long term to the SNES, and level shifters should be used there. thanks for the quick answer, but how is it damaging, if the correct voltage is ...