And in C it's well known that FALSE is 0 and TRUE is not 0 :)
AFAIR, C defines TRUE as 1. But with 68k it's better to use -1 (#$FF, 255). Why? Because value -1 is invariant in logical and bitwise operators:
not( 0 ) = -1
not( FALSE ) = TRUE
68k has even special instructions Scc which set byte to ...
Search found 92 matches
- Wed Oct 03, 2012 4:14 pm
- Forum: SGDK
- Topic: How to declare boolean on SGDK?
- Replies: 6
- Views: 6028
- Fri Jun 01, 2012 3:06 pm
- Forum: Megadrive/Genesis
- Topic: Good books for learning Assembly Language?
- Replies: 14
- Views: 14482
Once I learned programming in asm for Genesis reading these docs
http://www.ticalc.org/pub/text/68k/
You may read "68kguide.txt" first.
http://www.ticalc.org/pub/text/68k/
You may read "68kguide.txt" first.
- Tue Apr 17, 2012 6:06 pm
- Forum: Hardware
- Topic: Undocumented YM2612 register $2C
- Replies: 13
- Views: 19372
- Tue Apr 17, 2012 5:41 pm
- Forum: Hardware
- Topic: Undocumented YM2612 register $2C
- Replies: 13
- Views: 19372
- Mon Apr 16, 2012 4:29 pm
- Forum: Hardware
- Topic: Undocumented YM2612 register $2C
- Replies: 13
- Views: 19372
- Fri Apr 13, 2012 4:25 pm
- Forum: Blabla
- Topic: New game Mr. Nutz 2 [SMD]
- Replies: 3
- Views: 6847
It's not released, it was compiled by MetalliC from emu-land
http://www.emu-land.net/forum/index.php ... #msg838076
http://www.emu-land.net/forum/index.php ... #msg838076
- Tue Oct 25, 2011 7:32 pm
- Forum: Megadrive/Genesis
- Topic: New idea for a cart dumper, would it be useful?
- Replies: 31
- Views: 22753
This idea is not new
Not hot-switching of carts nor "audio dumping". For example,
http://www.emu-land.net/forum/index.php ... 1753.0;all
(in Russian).

http://www.emu-land.net/forum/index.php ... 1753.0;all
(in Russian).
- Fri Oct 21, 2011 4:21 pm
- Forum: Sound
- Topic: New Documentation: An authoritative reference on the YM2612
- Replies: 865
- Views: 2762467
- Thu Aug 11, 2011 5:31 am
- Forum: Sound
- Topic: YM2612 - prescaler init question
- Replies: 4
- Views: 5159
- Sun May 29, 2011 10:42 am
- Forum: Sound
- Topic: YM2612 shape of envelope attack
- Replies: 7
- Views: 10201
- Sun May 29, 2011 10:33 am
- Forum: Blabla
- Topic: The death march
- Replies: 11
- Views: 16091
- Sat May 28, 2011 12:41 pm
- Forum: Sound
- Topic: YM2612 shape of envelope attack
- Replies: 7
- Views: 10201
EG uses next formula for ATTACK RATE = 1
att += not(att) asr 4
When I tried to get template of EG attack values on hardware I used modualtion of oscillator by sum of 2 operators (algo 5, as far as I remember). Modulators were at sin256 phase (maximum), frequency = 0, TL = 0, amplitude at start = 0 ...
att += not(att) asr 4
When I tried to get template of EG attack values on hardware I used modualtion of oscillator by sum of 2 operators (algo 5, as far as I remember). Modulators were at sin256 phase (maximum), frequency = 0, TL = 0, amplitude at start = 0 ...
- Sat Mar 19, 2011 4:39 pm
- Forum: Tools
- Topic: Disassembly
- Replies: 12
- Views: 15435
I moved to another OS and another HDDs :) All in mess, so now I "lost" some of my tools.
Here is nlz of MUSHA by old version of Analyzer (which I found in one of my numerous folders; new version is somewhere in archives).
http://shedevr.org.ru/ghost/musha.rar
Simply disasm this ROM. My disassembler ...
Here is nlz of MUSHA by old version of Analyzer (which I found in one of my numerous folders; new version is somewhere in archives).
http://shedevr.org.ru/ghost/musha.rar
Simply disasm this ROM. My disassembler ...
- Sat Mar 19, 2011 4:17 pm
- Forum: Sound
- Topic: New Documentation: An authoritative reference on the YM2612
- Replies: 865
- Views: 2762467
- Sat Mar 19, 2011 12:56 pm
- Forum: Sound
- Topic: New Documentation: An authoritative reference on the YM2612
- Replies: 865
- Views: 2762467
Okay, I understand.
And if you run this test on MD1 you should see only 2 steps: from -1 to 0 and from 0 to +1. You won't see step from -2 from -1 because of glitch, so level "-1" will be last longer on X axis.
And step -1 to 0 will be HUGE (that is ladder effect).
Also, I noticed another glitch in ...
And if you run this test on MD1 you should see only 2 steps: from -1 to 0 and from 0 to +1. You won't see step from -2 from -1 because of glitch, so level "-1" will be last longer on X axis.
And step -1 to 0 will be HUGE (that is ladder effect).
Also, I noticed another glitch in ...