Jump to content

shazz

Members
  • Content Count

    72
  • Joined

  • Last visited

Community Reputation

4 Neutral

About shazz

  • Rank
    Star Raider

Recent Profile Visitors

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

  1. 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 !
  2. 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
  3. 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"
  4. 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
  5. Ah ah very interesting !!! Keep posting !
  6. Brookline, MA. Amiga ? Nobody's perfect (kidding)
  7. 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
  8. Ok found.... I was using the beta4 and not the last stable dev. Sorry again. And thanks for the tips !
  9. Yes, like that. It clears the screen, but nothing is written. If I remove the CLRSCR, it writes "THIS IS RED."
  10. 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 ?
  11. 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 ?
  12. 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....
  13. Great ! I never dreamed of meeting Atari ST/Falcon users here in N.E... A first thing to change
  14. Hi, Atari ST and Falcon fan for ages ! Living in Boston... I'll be at the @party (http://atparty-demoscene.net/) in Sommerville in June, that could be a nice place to meet ? Else, with my neighbor we use to play a few kick off II games time to time.
  15. That's a great idea ! And a good usage of my sleepy Xilinx boards... Please post you new designs, I'll take a look !
×
×
  • Create New...