Search found 29 matches

by zgh4000
Sat Aug 26, 2006 8:57 pm
Forum: SNESdev
Topic: help me ca65 for snes
Replies: 3
Views: 5063

I already solved!
.A16
.A8
.I16
.I8
by zgh4000
Sat Aug 26, 2006 8:18 pm
Forum: SNESdev
Topic: help me ca65 for snes
Replies: 3
Views: 5063

Ca65 support 65816 !
"all valid 65618 mnemonics when in 65816 mode (after the .P816 command was given)."

B:\SFC开发>.\bin\ca65 --cpu 65816 demo.asm
demo.asm(14): Error: Range error (4660 not in [0..255])
by zgh4000
Sat Aug 26, 2006 3:48 pm
Forum: SNESdev
Topic: help me ca65 for snes
Replies: 3
Views: 5063

help me ca65 for snes

x816
.mem
.index

Ca65 Without these instructions!
help me!

example:
ldx #lable

error: range over
by zgh4000
Sat Jul 29, 2006 4:19 pm
Forum: NESdev China
Topic: nihao..
Replies: 3
Views: 21924

Re: nihao..

nihao .. wo shi deguoren he wo da putong hua bu hao .. so I better write in English.. :) I am going to China (beijing,shanghai,guangzhou) for 3 weeks. I wanted to ask if someone from here could tell me about any good places to buy video game stuff. NES clones or maybe any backup stations for snes o...
by zgh4000
Wed Jul 26, 2006 2:57 am
Forum: NESdev China
Topic: 【原创】屏幕分裂位移
Replies: 0
Views: 19045

【原创】屏幕分裂位移

屏幕分裂位移终于做出来了
游戏标题画面经常应用.

传说中的职业程序员才能掌握的技术.^_^
我会考虑做一段 威猛 有型 独一无二的版权画面.
http://zgh3000.ik8.com/fc/demo3.zip
by zgh4000
Mon Jul 17, 2006 2:26 am
Forum: NESdev
Topic: Light Zapper
Replies: 20
Views: 10725

by zgh4000
Sat Jul 15, 2006 4:19 am
Forum: NESdev
Topic: Light Zapper
Replies: 20
Views: 10725

No wrong-ray gun demonstration

http://zgh3000.ik8.com/fc/new_zapper.zip

Nintendulator
Nestopia
by zgh4000
Tue Jul 04, 2006 8:15 pm
Forum: NESdev China
Topic: FC光枪研究
Replies: 4
Views: 31363

Re: FC光枪研究

wolfbati wrote:vnes模拟器在游戏未开枪前
就显示了瞄准器
谁知道它是如何做到的?


这个是什么意思嘛?
模拟器只是定位了一下MOUSE的位置,它并不关心你这个NES是否是支持光枪的,
只是你在特殊设备里选了光枪而已!
能自检光枪的模拟器已经对某些自己支持的射击游戏先进行过CRC效验,
从而得到一个唯一的CRC码,储存起来。
当运行某个rom时,对该NES进行CRC效验,如果的到的CRC码和储存的某个CRC码相同,则自检出光枪,显示瞄准器.
如果是自己做的demo或修改后的射击游戏都不能被自检.

你可以实验下
修改某个射击游戏,会发现CRC改变
然后用Vnes运行.
by zgh4000
Sun Jun 18, 2006 3:44 pm
Forum: NESdev
Topic: Light Zapper
Replies: 20
Views: 10725

It might aid in the debugging process if you included the ASM sources with the demo.
OK.
http://zgh3000.ik8.com/fc/zapperdemo.rar

Image
by zgh4000
Sun Jun 18, 2006 8:26 am
Forum: NESdev
Topic: Light Zapper
Replies: 20
Views: 10725

by zgh4000
Fri Jun 16, 2006 1:54 pm
Forum: NESdev China
Topic: 目前在学习这些,有谁有源码或资料的发下,谢谢!
Replies: 8
Views: 48236

tpu wrote:光枪你知道原理的话,编程实现应该很容易的
可以用NNNesterj做出来
但是没能自动检测出接了光枪,必须手动选择。
你对vnes模拟器比较熟悉,麻烦你看下源代码,什么原因。
by zgh4000
Sun Jun 11, 2006 9:50 am
Forum: NESdev China
Topic: 目前在学习这些,有谁有源码或资料的发下,谢谢!
Replies: 8
Views: 48236

谢了,
不知道你对光枪有没研究?
by zgh4000
Fri Jun 09, 2006 9:35 pm
Forum: NESdev
Topic: Light Zapper
Replies: 20
Views: 10725

I understand the basic principles, but I have never made a successful demonstration of the procedure.
I write the nes have not appeared in the simulator gun sights.
Zappa.nes I have read, it is not a complete zapper demonstration procedures.
by zgh4000
Fri Jun 09, 2006 8:20 pm
Forum: NESdev China
Topic: 目前在学习这些,有谁有源码或资料的发下,谢谢!
Replies: 8
Views: 48236

16位运算
最近研究后发现也很简单,利用进位判断可以容易做到.

定点坐标显示子程序
发现要实现他,要用到16位运算 和乘法。^_^
by zgh4000
Fri Jun 09, 2006 8:08 pm
Forum: NESdev China
Topic: 目前在学习这些,有谁有源码或资料的发下,谢谢!
Replies: 8
Views: 48236

tpu wrote:随机数算法一般都是给一个种子,即初始值,然后返回一系列的伪随机数。只要种子一样,产生的结果就一样。把地址放在sram里面,可以保证种子每次开机都不一样。

乘除法我写过一些,这里不能上传。改天发给你研究。
乘法我是这样理解的。
循环加运算
除法则是循环减运算。
是偶数的话可以用移位来提高效率。不知道你的代码是这个原理吗?
发我邮箱吧。