Search found 160 matches

by aa-dav
Mon Jun 15, 2020 9:25 am
Forum: Other Retro Dev
Topic: Questions about ARM and stuff~
Replies: 6
Views: 9660

Re: Questions about ARM and stuff~

I would strongly recommend using of GCC with assembler code as inlines or separate modules. GCC architecture allows to create assembler output (command line parameter -S) from C/C++ sources which will produce absolutely the same binary object file. So, it's easy to look into code generated by compil...
by aa-dav
Tue Jun 09, 2020 7:44 pm
Forum: General Stuff
Topic: Terminator, MOS 6502 and Ion Maiden
Replies: 7
Views: 5288

Re: Terminator, MOS 6502 and Ion Maiden

Finally I download image created by Mr.Mouse/Xentax from https://csdb.dk/release/?id=182055 and load it in Commodore 64 emulator: Here you can see and listen to result: https://www.youtube.com/watch?v=CxfSa2LexHE It's amazing triple x3 super easter egg! xD It's tribute to Terminator, Commodore 64 an...
by aa-dav
Tue Jun 09, 2020 6:41 am
Forum: General Stuff
Topic: Terminator, MOS 6502 and Ion Maiden
Replies: 7
Views: 5288

Re: Terminator, MOS 6502 and Ion Maiden

Found it: https://csdb.dk/release/?id=182055
Yes, it was discovered in 2019. Cool... Looks like it's music from Duke3D.
by aa-dav
Tue Jun 09, 2020 5:58 am
Forum: General Stuff
Topic: Terminator, MOS 6502 and Ion Maiden
Replies: 7
Views: 5288

Re: Terminator, MOS 6502 and Ion Maiden

Neat find. I noticed that JMP $EA31 looked out of place (no label?), and Googling "$EA31" shows that it's an entry point for C64 Kernal ROM's interrupt handler. Furthermore, the $D4xx addresses are the C64's SID chip registers. Damn! This really looks like sound driver playing displayed D...
by aa-dav
Mon Jun 08, 2020 11:48 pm
Forum: General Stuff
Topic: Terminator, MOS 6502 and Ion Maiden
Replies: 7
Views: 5288

Terminator, MOS 6502 and Ion Maiden

Ion Maiden is the excellent retroshooter built on the Duke3D engine (port). And after a while after its release I found some interesting easter egg in youtube stream of it: https://cdn.jpg.wtf/futurico/04/85/1548735192-0485b8a5a3f21b9c1f5a95a13457a2b0.png It's obvious reference to Terminator movie a...
by aa-dav
Sun Jun 07, 2020 7:50 pm
Forum: General Stuff
Topic: SNES Doom development, Randy Linden
Replies: 26
Views: 15446

Re: SNES Doom development, Randy Linden

It's very interesting interview! I didn't even know that SNES port was started as unofficial one. I have read about SuperFX a little and it's architecture is very interesting one (at least for me). It has 16 general registers (also there is a lot of control registers, but it's not important here) R0...
by aa-dav
Fri Jun 05, 2020 4:12 am
Forum: NESdev
Topic: Possible to play music that doesn't loop in Famitone2 (neslib)
Replies: 6
Views: 3428

Re: Possible to play music that doesn't loop in Famitone2 (neslib)

Looking at famitone2 code I see another possibly interesting thing. This driver keeps pause state in bit 7 of FT_SONG_SPEED variable. Also if FT_SONG_SPEED is 0 oscillators for music are not updated at all (but sounds keep working). Effect Fxx updates of FT_SONG_SPEED variable, so if we could pass 0...
by aa-dav
Thu Jun 04, 2020 11:27 pm
Forum: NESdev
Topic: Possible to play music that doesn't loop in Famitone2 (neslib)
Replies: 6
Views: 3428

Re: Possible to play music that doesn't loop in Famitone2 (neslib)

Famitone2 manual states: - Allowed notes are C-1..D-6, Note Cut (rest note) - Only Volume, Arpeggio, and Pitch sequences (no Pitch for noise channel) supported - All instruments should have a volume envelope assigned - Only the loop part of sequence is supported, release part is not supported - Pitc...
by aa-dav
Tue Jun 02, 2020 10:31 pm
Forum: Other Retro Dev
Topic: Programming hints from Alan Turing (Mark I/II)
Replies: 4
Views: 9041

Re: Programming hints from Alan Turing (Mark I/II)

... Reading that guy reminds me of Mel Kaye. It's very structural thinking. ... Even selective reading this manual was hard. :) First of all Alan Turing was mathematician and manual starts with math language and full of it. But it's not just symbols, but math formalism also. Modern (for last 30-40 ...
by aa-dav
Mon Jun 01, 2020 9:45 pm
Forum: Other Retro Dev
Topic: Programming hints from Alan Turing (Mark I/II)
Replies: 4
Views: 9041

Programming hints from Alan Turing (Mark I/II)

Some time ago I found link to programming manual from 1951 year for one of the first british computers - Manchester/Ferranti Mark I/II and author was Alan Turing himself: http://curation.cs.manchester.ac.uk/computer50/www.computer50.org/kgill/mark1/RobertTau/turing.pdf There is interesting chapter &...
by aa-dav
Sat May 30, 2020 7:05 am
Forum: NESdev
Topic: Trying to understand the purpose of this operation:
Replies: 6
Views: 3769

Re: Trying to understand the purpose of this operation:

Does it look real what someone in 1988 had compiler for NES with optimizations and so on?
It looks unreal for me.
I think "automated" here is just "macros".
by aa-dav
Sat May 30, 2020 5:13 am
Forum: NESdev
Topic: Trying to understand the purpose of this operation:
Replies: 6
Views: 3769

Re: Trying to understand the purpose of this operation:

I bet this is just some macro like "LDXY" which programmer thoughtlessly used.
Or scraps of removed code.
by aa-dav
Wed May 13, 2020 11:35 am
Forum: NESdev
Topic: Compiled stack proposal
Replies: 22
Views: 9363

Re: Compiled stack proposal

Hisoft C is C compiler with 24Kb core within target machine (ZX Spectrum 48). And it's source code for stdlib library is really cool: /*****************************/ /* Hisoft C */ /* Standard Function Library */ /* HEADER */ /* */ /* Copyright (C) 1984 Hisoft */ /* Last changed 15 Aug 1985 */ /****...
by aa-dav
Tue May 12, 2020 11:56 pm
Forum: NESdev
Topic: Compiled stack proposal
Replies: 22
Views: 9363

Re: Compiled stack proposal

I was amazed how very old computer processors handle calls of procedures. They just don't have stack at all! Popular idea was to have word at the beginning of procedure where processor writes return adress while executing CALL insttruction. That is CALL ADDR writes current IP pointer to ADDR and jum...
by aa-dav
Tue May 12, 2020 4:58 am
Forum: NESdev
Topic: Aren't you afraid that NES Maker would just bring lazy noobs
Replies: 138
Views: 76872

Re: Aren't you afraid that NES Maker would just bring lazy noobs

Iterating many times over a tight loop, especially with pointers, is basically worst case for the CC65 compiler, and that's precisely the kind of thing you should rewrite in assembly if you need it. Unless you're being extremely ideological about never touching assembly, this really doesn't have to...