SebRmv Posted May 31, 2006 Report Share Posted May 31, 2006 Merci Zerosquare pour ce début de doc. J'ai une question, probablement bête, à quelle valeur de X commence l'affichage? X = 0 ou X = HDB ou X = ??? Sinon, dommage, j'aurais bien aimé que tu nous dises comment calculer effectivement les valeurs, mais bon... je continue d'espérer. Seb Link to comment Share on other sites More sharing options...
Zerosquare Posted May 31, 2006 Author Report Share Posted May 31, 2006 [Français] Désolé d'avoir été un peu long à la détente En réponse à ta question, X = 0 (pour les sprites) correspond au bord gauche de la zone gérée par l'OP (à l'inverse de ce qui se passe pour les Y, donc). Voilà un bout de code d'exemple pour le mode non entrelacé (SCPCD ou GT devraient pouvoir te fournir d'autres trucs du même genre). [English] Sorry for the delay To answer your question, X = 0 (for sprites) is the left edge of the area drawn by the OP (i.e. it's different from what happens for the Y values). Here's a bit of example code for non-interlaced mode (SCPCD or GT should be able to provide you with more stuff of the same kind). .include "jaguar.inc" .bss a_hdb: .ds.w 1 a_hde: .ds.w 1 a_vdb: .ds.w 1 a_vde: .ds.w 1 .text ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Procedure: InitVideo (same as in vidinit.s) ; Build values for hdb, hde, vdb, and vde and store them. ; Original code by Atari, slight modifications and comments ; by Zerosquare / Jagware InitVideo: movem.l d0-d6,-(sp) move.w CONFIG,d0 ; Also is joystick register andi.w #VIDTYPE,d0 ; 0 = PAL, 1 = NTSC beq palvals move.w #NTSC_HMID,d2 move.w #NTSC_WIDTH,d0 move.w #NTSC_VMID,d6 move.w #NTSC_HEIGHT,d4 bra calc_vals palvals: move.w #PAL_HMID,d2 move.w #PAL_WIDTH,d0 move.w #PAL_VMID,d6 move.w #PAL_HEIGHT,d4 calc_vals: ; You can modify d0 and d4 here to set the area drawn ; by the OP (by default it fills the whole screen). It will ; be centered on the screen. ; Warning : the horizontal values are in video clock cycles, ; so don't forget to multiply the number of pixels by ; PWIDTH + 1 ; Check also that the VDB and VDE values used for the first ; two stop objects in your object list are those calculated ; here move.w d0,d1 asr #1,d1 ; Width/2 sub.w d1,d2 ; Mid - Width/2 add.w #4,d2 ; (Mid - Width/2)+4 sub.w #1,d1 ; Width/2 - 1 ori.w #$400,d1 ; (Width/2 - 1)|$400 move.w d1,a_hde move.w d1,HDE move.w d2,a_hdb move.w d2,HDB1 move.w d2,HDB2 move.w d6,d5 sub.w d4,d5 move.w d5,a_vdb add.w d4,d6 move.w d6,a_vde move.w a_vdb,VDB move.w a_vde,VDE movem.l (sp)+,d0-d6 rts Link to comment Share on other sites More sharing options...
Zerosquare Posted June 4, 2006 Author Report Share Posted June 4, 2006 [Français] Un petit "le saviez-vous ?" à propos de Tempest 2000 : on a fait des tests hier avec SCPCD, et l'option "Interlace" n'utilise pas le mode entrelacé Ça semble seulement faire trembler l'image horizontalement... [English] A little bit of trivia about Tempest 2000 : I did some testing yesterday with SCPCD, and it appears that the "Interlace" option does not use interlaced mode It only seems to make the picture shiver horizontally... Link to comment Share on other sites More sharing options...
ovalbugmann Posted December 31, 2006 Report Share Posted December 31, 2006 Thanks for the high resolution Jaguar program screens Zerosquare, they look very nice running on the Jaguar. Nice Work! Link to comment Share on other sites More sharing options...
Zerosquare Posted December 31, 2006 Author Report Share Posted December 31, 2006 Thanks for the high resolution Jaguar program screens Zerosquare, they look very nice running on the Jaguar. Nice Work! Thanks for kind words Link to comment Share on other sites More sharing options...
Orion_ Posted August 8, 2007 Report Share Posted August 8, 2007 I just received a contest prize today, a nice Sony LCD TV 32" and I tested the Hires2 1376x576 demo of Zerosquare, see the result ! sorry for my digital cam, it doesn't have a good quality still waiting for some source code Zerosquare Link to comment Share on other sites More sharing options...
Symmetry of TNG Posted August 12, 2007 Report Share Posted August 12, 2007 Nice Price! & nice Pic Just cant wait for a JagCF Demo "HD Ready" Link to comment Share on other sites More sharing options...
Pocket Posted August 15, 2007 Report Share Posted August 15, 2007 Nice TV, now you will have the best picture to test your work Link to comment Share on other sites More sharing options...
Fredifredo Posted November 30, 2007 Report Share Posted November 30, 2007 For me the jaguar is : "Horizontaly HD ready" / Verticaly 576i so just for the fun a logo can be make ... Link to comment Share on other sites More sharing options...
Fredifredo Posted November 30, 2007 Report Share Posted November 30, 2007 Link to comment Share on other sites More sharing options...
Zerosquare Posted November 30, 2007 Author Report Share Posted November 30, 2007 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now