|
Post by Tiido on Jan 12, 2009 1:45:29 GMT -5
|
|
|
Post by Syniphas on Jan 12, 2009 2:00:26 GMT -5
whaaaaaaaaa
|
|
|
Post by Mairtrus on Jan 13, 2009 11:37:18 GMT -5
Until I opened it with KMod I could not convince me that this really does not use RAM. Just... congratulations. But, I have a question. In the initial screen you use the D1 to read the joypad, but in game only the A0 seem to change during the joypad reading. How is this posible? I'm confused Another thing that I doesn't understand is how you change the header without fuck the vectors...
|
|
|
Post by Tiido on Jan 14, 2009 6:52:52 GMT -5
if you're not going to use RAM, vectors are no longer necessary... interrupt would cause stack use, and stack is in memory... you can see that none of the regs point to E00000h to FFFFFFh area, and the RAM area is always filled with sea of 00h. Only interesting things are first 2 Longs, the stack pointer(which has nonsense value in it ) and Code Start point. All other things are totally unnecessary. See the ROM, there's some extra stuff, one thing will lead you to the source All answers are there. TBH, I don't remember much about how the thing works... It is in 100% assembly
|
|
|
Post by Syniphas on Jan 14, 2009 22:35:59 GMT -5
lol I wonder if Airstriker could be redone without RAM.
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jan 15, 2009 0:35:59 GMT -5
haha very amusing the 68k doesn't have much storage room in it's registers (is it 64 bytes worth? d0-d7, a0-a7 and they're all 32-bits?), so that's pretty challenging i remember that i tried to pull something of like this a long time ago, but it was using a pic16f84 that was generating an ntsc video signal at the same time. i got a screen resolution of only 24x16 , so i only had like 16 bytes left for the game . i gave up on making the game you won't be able to pass the title screen without using ram on a basiegaxorz game
|
|
|
Post by Syniphas on Jan 15, 2009 12:11:12 GMT -5
i should learn asm
|
|
|
Post by Mairtrus on Jan 15, 2009 17:18:58 GMT -5
Isn't really so difficult. And there is a lot of docs around the Web that you can use. What I can not get yet is how to write on the VDP, but the rest is a piece of cake.
|
|
|
Post by Syniphas on Jan 15, 2009 19:03:43 GMT -5
meh
I only learnt BASIC because a friend teached me it. I can't really learn from tutorials and docs.
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jan 17, 2009 3:08:29 GMT -5
asm takes much more patience than basic . you sacrifice program execution speed and size over the ease of programming when you go with basic, but sometimes it's worth it when you're in a rush to have results, and where learning a new thing from the ground up would take a very very long time. oh btw, don't get the wrong idea about ram . ram is a good thing to use, and you have a bigger advantage . using no ram is for i dunno, exploiting the system, or for demos/showing off, or if the system does not have any ram at all (to save money i guess , but look what it did for the atari 2600 with only 128 bytes of ram )
|
|
|
Post by Tiido on Jan 17, 2009 19:59:04 GMT -5
I learned 68K within 2 days, x86 took around a week. BASIC took around a week also. I like ASM, its so fun 64bytes if registers is quite nice to have, many CPUs don't have that much
|
|
|
Post by Syniphas on Jan 19, 2009 7:55:24 GMT -5
maybe you could teach me
|
|