Jump to content

Photo

Our SillyVenture 2013 Demo entry

sillyventure2013

38 replies to this topic

#1 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Mon Nov 11, 2013 12:59 AM

here is our entry for SillyVenture 2013 demo compo.

Credits:

Code: Heaven
Gfx: Alien & Freakyb
Msx: String

I will release a fixed and final version as this was submitted in last minute action and it seems it only runs in Altirra correctly, not in Atari800win plus and Atari Emulator on Mac... oh, not to mention real hardware :D.

Phaeron... any ideas why it has glitches on other emulators?

it's not packed or anything but I guess I was little too "low" on memory and put stuff in loader area...

Attached Files



#2 José Pereira OFFLINE  

José Pereira

    River Patroller

  • 4,068 posts
  • Location:Lisbon - Portugal

Posted Mon Nov 11, 2013 1:19 AM

here is our entry for SillyVenture 2013 demo compo.

Credits:

Code: Heaven
Gfx: Alien & Freakyb
Msx: String

I will release a fixed and final version as this was submitted in last minute action and it seems it only runs in Altirra correctly, not in Atari800win plus and Atari Emulator on Mac... oh, not to mention real hardware :D.

Phaeron... any ideas why it has glitches on other emulators?

it's not packed or anything but I guess I was little too "low" on memory and put stuff in loader area...

Hey what about a screen or two because I can't see it at the moment ;) .
:)


Thanks.

#3 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • Topic Starter
  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Mon Nov 11, 2013 1:22 AM



#4 w1k OFFLINE  

w1k

    Stargunner

  • 1,650 posts
  • Location:martin, slovakia

Posted Mon Nov 11, 2013 1:37 AM

side II - not working



#5 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • Topic Starter
  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Mon Nov 11, 2013 1:50 AM

yeah... I guess I was the person at show... with only contribution which did not work on real hardware... :( last time I did hardware check but this time it was a risk... :( but anyway... at least an entry :D



#6 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • Topic Starter
  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Mon Nov 11, 2013 3:20 AM

btw. here is video from the gfx compo

 


Edited by Heaven/TQA, Mon Nov 11, 2013 3:20 AM.


#7 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • Topic Starter
  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Mon Nov 11, 2013 3:25 AM

at 17:35 that's cool and the "gfx 15 - gr. 9 - gr. 15" pic... need to check the g2f file 



#8 TMR OFFLINE  

TMR

    River Patroller

  • 3,358 posts
  • Beeping the horn on the data bus
  • Location:Leeds, U.K.

Posted Mon Nov 11, 2013 4:54 AM

No greeting? Okay, going to sit in this corner and sulk...

#9 Rybags ONLINE  

Rybags

    Quadrunner

  • 15,170 posts
  • Location:Australia

Posted Mon Nov 11, 2013 4:59 AM

Me too... although the greetz part is somewhat slim, I guess what did make it was sort of a last minute thing.

Nice demo though, just watched some of the video.

#10 CharlieChaplin OFFLINE  

CharlieChaplin

    River Patroller

  • 2,550 posts

Posted Mon Nov 11, 2013 6:30 AM

@Heaven:

 

- your demo works on Atari 800 Win (german version from Abbuc)...

- it does not work on real Atari due to the very first segment: $0582-0BF5, which means, no DOS, Bootloader or Gamedos accepts this low memory area and you get an immediate crash; you should leave $0700-09FF alone (or $0700-0BFF to be save)...

- you may try to use the memory area between $14xx and $1FFF instead...

 

@programmers:

- if you want your program to work on a real A8, don`t use $0700-09FF (or $0700-0BFF to be save); otherwise the program cannot be loaded via DOS, Gamedos or Bootloader...

- also do never use $D000-D7FF (but this would afaik also not work on emulators)...

 

-Andreas Koch.

 



#11 Rybags ONLINE  

Rybags

    Quadrunner

  • 15,170 posts
  • Location:Australia

Posted Mon Nov 11, 2013 6:41 AM

I did a games loader way back which was based on an existing one out there and allowed loading from a fairly low area - something like $580 I think.

But yes, it is good practice these days to try and have these things loadable by as many methods as possible.

Loaders such as with IDE +2 or SIDE could probably handle such things as this but not many people have them.

#12 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • Topic Starter
  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Mon Nov 11, 2013 7:11 AM

I guess it is the RMT player... as positioned very low... let's see what I can do...

lowest ORG is $0800 so could be some tables of the player...

and regarding grtx... I put there atariage and atarionline so I thought I got everybody included :D

no honestly... the greetx part was written in less than 30 min and prerendered so it stayed at the mini-version til end. it was already sunday 3am when submitted to SillyVenture... ;)

nevermind... the fixed version will contain proper greetings part ;)

@Andreas...

Atari800win does have gfx glitches in the parallax bars? (wrong colors half way down?) compared to Altirra. same at Atari800mac so it seems the Atari800 core.

#13 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • Topic Starter
  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Mon Nov 11, 2013 7:49 AM

here is the fixed version... should now load.

it was the RMT player with it's "pre"-org tables...

so actually took 1 minute to fix... grrr...

Attached Files



#14 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • Topic Starter
  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Mon Nov 11, 2013 7:54 AM

and the mem footprint output from Altirra:

Altirra> a8
Atari800-compatible command aliases set.
Altirra> cont
EXE: Loading program 0006-0679 to 0D82-13F5
EXE: Loading program 067E-097D to 1400-16FF
EXE: Loading program 0982-0E81 to 1800-1CFF
EXE: Loading program 0E86-29FD to A400-BF77
EXE: Loading program 2A02-2A07 to 2000-2005
EXE: Loading program 2A0C-2A0D to 02E2-02E3
EXE: Jumping to 2000
EXE: Loading program 2A12-2EE4 to 2000-24D2
EXE: Loading program 2EE9-3E60 to 2800-3777
EXE: Loading program 3E65-42BB to 3800-3C56
EXE: Loading program 42C0-4DC5 to 3D00-4805
EXE: Loading program 4DCA-50C9 to 4900-4BFF
EXE: Loading program 50CE-68CD to 5010-680F
EXE: Loading program 68D2-80D1 to 7010-880F
EXE: Loading program 80D6-89DA to 8900-9204
EXE: Loading program 89DF-99DE to 9400-A3FF
EXE: Loading program 99E3-99E4 to 02E0-02E1
EXE: Launching at 3820

#15 HiassofT OFFLINE  

HiassofT

    Stargunner

  • 1,030 posts
  • Location:Salzburg, Austria

Posted Mon Nov 11, 2013 8:38 AM

here is the fixed version... should now load.

Just gave it a quick try on my PAL 800XL, it loads fine from MyPicoDos but has some glitches in the graphics (black blocks), see screenshot:

shot.jpg

so long,

Hias

#16 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • Topic Starter
  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Mon Nov 11, 2013 8:58 AM

Now that's exactly what Atari800win shows and my Mac.... Grrr.... Altirra shows it correctly how I wanted to have it... Ideas? Need to check if I am writing a color LUT and it gets out of sync...

But phaeron should look into it? Old emulators showing it correct while latest emu not ;)

#17 Creature XL OFFLINE  

Creature XL

    Dragonstomper

  • 903 posts
  • Location:Hannover.De

Posted Mon Nov 11, 2013 11:59 AM

 

Looks like all the talking on FormatWar has finally culminated in a release :)

congratz


  • w1k likes this

#18 foft OFFLINE  

foft

    Dragonstomper

  • 626 posts
  • Location:Nyon, Switzerland

Posted Mon Nov 11, 2013 12:01 PM

Now that's exactly what Atari800win shows and my Mac.... Grrr.... Altirra shows it correctly how I wanted to have it... Ideas? Need to check if I am writing a color LUT and it gets out of sync...

But phaeron should look into it? Old emulators showing it correct while latest emu not ;)

I see the same black bars on the DE1 - which is largely based on the Altirra hardware reference manual.



#19 Tezz OFFLINE  

Tezz

    River Patroller

  • 2,260 posts
  • Location:Manchester, England

Posted Mon Nov 11, 2013 3:28 PM

Cool stuff  :thumbsup: good to see what you were discussing now included in a new prod.

Interested to hear the outcome of the issue.



#20 CharlieChaplin OFFLINE  

CharlieChaplin

    River Patroller

  • 2,550 posts

Posted Mon Nov 11, 2013 4:53 PM

Well,

 

this is a cool 16k intro (when packed with Superpacker/Exomizer it is a little shorter than 16kbytes). Hopefully you can fix the gfx glitches with the black bars...

 

-Andreas Koch.



#21 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • Topic Starter
  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Mon Nov 11, 2013 5:12 PM

@Andreas

Thanks... So I could have had entered as intro ;) good to know... Where did you put the buffers? Let me know...

#22 Xuel OFFLINE  

Xuel

    Dragonstomper

  • 605 posts
  • Location:US

Posted Mon Nov 11, 2013 11:06 PM

@Heaven
 
You have several DLIs that don't properly restore the A register. They end with LDA $28 instead of LDA $25. For some reason those DLIs don't occur during the generation of the color tables in Altirra but they do in Atari800Win and apparently on real hardware.
 
158  67 39DD BCC $39E1             ; 2cyc ; A=80 S=fb X=14 Y=ff P=NV*B-I--
158  73 39E1 STA $34 ;BFENLO       ; 3cyc ; A=80 S=fb X=14 Y=ff P=NV*B-I--
158  79 39E3 INX                   ; 2cyc ; A=80 S=fb X=14 Y=ff P=NV*B-I--
158  83 39E4 BNE $39C1             ; 2cyc ; A=80 S=fb X=15 Y=ff P=-V*B-I--
158  89 39C1 LDA $34 ;BFENLO       ; 3cyc ; A=80 S=fb X=15 Y=ff P=-V*B-I--
158  95 39C3 ORA #$04              ; 2cyc ; A=80 S=fb X=15 Y=ff P=NV*B-I--
158  99 39C5 STA $0C00,X           ; 5cyc ; A=84 S=fb X=15 Y=ff P=NV*B-I--
158 109 39C8 AND #$F0              ; 2cyc ; A=84 S=fb X=15 Y=ff P=NV*B-I--
158 111 39CA ORA #$06              ; 2cyc ; A=80 S=fb X=15 Y=ff P=NV*B-I--
158 113 39CC STA $0D00,X           ; 5cyc ; A=86 S=fb X=15 Y=ff P=NV*B-I--
159   9 39CF AND #$F0              ; 2cyc ; A=86 S=fb X=15 Y=ff P=NV*B-I--
159  11 39D1 ORA #$0A              ; 2cyc ; A=80 S=fb X=15 Y=ff P=NV*B-I--
159  25 3DC3 BIT $D40F ;NMIST      ; 4cyc ; A=8a S=f8 X=15 Y=ff P=NV*B-I--
159  39 3DC6 BPL $3DCB             ; 2cyc ; A=8a S=f8 X=15 Y=ff P=N-*B-I--
159  47 3DC8 JMP $3D80             ; 3cyc ; A=8a S=f8 X=15 Y=ff P=N-*B-I--
159  59 3D6E STA $25 ;ICBAHZ       ; 3cyc ; A=8a S=f8 X=15 Y=ff P=N-*B-I--
159  67 3D70 LDA #$A0              ; 2cyc ; A=8a S=f8 X=15 Y=ff P=N-*B-I--
159  71 3D72 STA $D40A ;WSYNC      ; 4cyc ; A=a0 S=f8 X=15 Y=ff P=N-*B-I--
159 107 3D75 STA $D409 ;CHBASE     ; 4cyc ; A=a0 S=f8 X=15 Y=ff P=N-*B-I--
159 112 3D78 LDA #$80              ; 2cyc ; A=a0 S=f8 X=15 Y=ff P=N-*B-I--
160   6 3D7A STA $3DC9             ; 4cyc ; A=80 S=f8 X=15 Y=ff P=N-*B-I--
160  10 3D7D LDA $28 ;ICBLLZ       ; 3cyc ; A=80 S=f8 X=15 Y=ff P=N-*B-I--
160  14 3D7F RTI                   ; 6cyc ; A=00 S=f8 X=15 Y=ff P=--*B-IZ-
161   6 39D3 STA $0E00,X           ; 5cyc ; A=00 S=fb X=15 Y=ff P=NV*B-I--
161  11 39D6 AND #$F0              ; 2cyc ; A=00 S=fb X=15 Y=ff P=NV*B-I--
161  13 39D8 CLC                   ; 2cyc ; A=00 S=fb X=15 Y=ff P=-V*B-IZ-
161  15 39D9 ADC #$10              ; 2cyc ; A=00 S=fb X=15 Y=ff P=-V*B-IZ-
161  19 39DB CMP #$F0              ; 2cyc ; A=10 S=fb X=15 Y=ff P=--*B-I--
161  23 39DD BCC $39E1             ; 2cyc ; A=10 S=fb X=15 Y=ff P=--*B-I--
 
Here's a patched version:
 
Attached File  dsr-dli-fix.xex   38.53KB   50 downloads
 
I just added the following patches before the RUN segment:
 

    org $3D23
    lda $25
    org $3D35
    lda $25
    org $3D47
    lda $25
    org $3D59
    lda $25
    org $3D6B
    lda $25
    org $3D7D
    lda $25
    org $3D8F
    lda $25
    org $3DA1
    lda $25
    org $3DB3
    lda $25


#23 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • Topic Starter
  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Tue Nov 12, 2013 12:31 AM

@xuel

Thanks... Now that's a newbie error.... I guess I would spotted it earlier if Altirra showed it corrupted. :)

Anyway will release later the final compo version at Pouet....

#24 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • Topic Starter
  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Tue Nov 12, 2013 1:31 AM

interesting as it looks ok from source code point of view... now let's check the memory locations...

fx_color	;lda #$26
	lda #15
	sta wsync
fx_col_start	ldy #$00
	ldx #152/4
fx_loop
	lda parallax_coltab0e,y ;$0e
	sta $d018
	lda parallax_coltab08,y
	sta $d016
	lda parallax_coltab04,y
	sta $d017
	sta wsync
	sta wsync
	sta wsync
	sta wsync

	iny
	dex
	bne fx_loop

	lda dli_regA
	ldx dli_regX
	ldy dli_regY
	rti	


#25 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • Topic Starter
  • 10,339 posts
  • Location:Baden-Württemberg, Germany

Posted Tue Nov 12, 2013 1:33 AM

ok... and what is then wrong with

	org $10
fcnt	.ds 2
fadr	.ds 2
fhlp	.ds 2
cloc	.ds 1
cloc2	.ds 1
b		.ds 2
c		.ds 2
d		.ds 2
f		.ds 2
g		.ds 2
pos1	.ds 1
pos2	.ds 2
regA	.ds 1
regX	.ds 1
regY	.ds 1
dli_regA .ds 1
dli_regX .ds 1
dli_regY .ds 1
counter .ds 2
songcounter .ds 2
si		.ds 2
di		.ds 2
frame	.ds 1
steps	.ds 1
xstep	.ds 1





0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users