Jump to content

shazz

Members
  • Posts

    75
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

shazz's Achievements

Star Raider

Star Raider (3/9)

5

Reputation

  1. Thanks @DZ-Jay for the post.... reminds me soooo many good souvenirs.... what a journey!!!! (pun intended). That's the essence and beauty of the demoscene, it creates strong friendship and souvenirs that nobody else can understand Love that.. Miss that... Hopefully, it will motivates newcomers to do better and create great things for the inty, a console I did not know before (quite rare in Europe) and really cool to code. High five for my partners in crime who suffered to help me release it in time for @Party, @DZ-Jay and @carlsson.
  2. Nanochess, yes.... half the frames... if you found a way to capture at 60Hz, I remember there was a way to upload it to youtube (https://hardforum.com/threads/youtube-has-options-for-60hz-video-now.1839211/). Btw, some music channels are missing in your video
  3. First book, vol 1, was. really, REALLY, an awesome book. More on the people who made the ST a great computer and not only a nice combination of chips. I cannot wait for the Vol 2, suspense !
  4. If you're not aware, great volume 1, please consider volume 2 https://www.indiegogo.com/projects/the-atari-st-and-the-creative-people-vol-2
  5. Hum I tried everything, no space, a space, a tab,.... always an error. With a space, in addition, "invalid opcode" sequencer.asm:12: ERROR - invalid opcode sequencer.asm:12: ERROR - syntax error at/before string "jlp"
  6. Hi, I added the --jlp to jzintv, works. but the CFG_VAR "jlp" = 1 doesn't : ERROR - syntax error at/before string "jlp" By the way typo error in the PDF, Quotient and Remainder addresses are swapped, according to the table. Program Example The following example demonstrates converting a number to decimal using the unsigned divide accelerator. This can be useful for displaying scores onscreen, for example. DIVUU.num EQU $9F8A ; Numerator for the divide DIVUU.den EQU $9F8B ; Denominator for the divide DIVUU.quo EQU $9F8F ; Quotient DIVUU.rem EQU $9F8E ; Remainder
  7. Ah ah very interesting !!! Keep posting !
  8. Brookline, MA. Amiga ? Nobody's perfect (kidding)
  9. Thanks dZ, I did not know the BEGIN/RETURN aliases. Yup yup, it fully makes sense. I just miss the good old MOVEM.L instruction I guess this page (http://wiki.intellivision.us/index.php?title=Calling_Conventions) should be the first one to read in the tutorials section
  10. Ok found.... I was using the beta4 and not the last stable dev. Sorry again. And thanks for the tips !
  11. Yes, like that. It clears the screen, but nothing is written. If I remove the CLRSCR, it writes "THIS IS RED."
  12. Ok.. If I save the R5 register into my sub routine, it works now PSHR R5 ; save R5 : return address ... PULR PC Sorry Any idea why after a call to CLRSCR I cannot print anything ?
  13. ok, it was not so dumb after all... So I tried the PCALL and I have the error : Invalid opcode. I added the macro in a file (branch.mac) and added as an include at the end @@loop CALL WAITVBL ; wait for VBlank ; jump to the current main routine PCALL SUBROUT B @@loop ; loop forever EDIT: Ok I have added them to the beginning, and replaced p by r. It assembles but never goes back to the loop. And I tried the "optimized version" @@loop CALL WAITVBL ; wait for VBlank ; jump to the current main routine MVII #@@loop, R5 ; return to @@loop MVI SUBROUT, PC ; call the routine but it never goes back to the loop, SUBROUT contains the address of RED_MAIN: RED_MAIN PROC ; CALL CLRSCR ; commented, creates bugs CALL PRINT.FLS DECLE 7 DECLE $200 + 3*20 + 1 DECLE "THIS IS RED...", 0 JR R5 ;B MAIN.loop ENDP is it due to the CALL PRINT which changes the R5 ?
  14. Hi, I think I'm doing something dumb but... I cannot see it. I have the address of a sub routine in a variable (System Ram location). I can branch on this address using @@loop CALL WAITVBL ; wait for VBlank ; jump to the current main routine MVI SUBROUT, R1 JR R1 B @@loop ; loop forever But in this case the return address is not set in R5 so within my sub routine, JR R5 won't come back to the @@loop So currently my sub routine ends with B @@loop but that's ugly. Is there a way to do something JSR R1 ? Note, as SUBROUT points to different subroutines along the time, I cannot do B @@ASUBROUT. Thanks....
×
×
  • Create New...