Lillapojkenpåön
Members-
Content Count
486 -
Joined
Content Type
Profiles
Member Map
Forums
Blogs
Gallery
Calendar
Store
Everything posted by Lillapojkenpåön
-
Your collision detection (dpc+) example
-
I figured it out myself, this works very well if !collision(player0,player1) then goto __Skip_p0_Collision temp5 = player1x if (player0y + 10) >= player1y && player0y <= (player1y + 10) && (player0x + temp5) >= player1x && player0x <= (player1x + 7) then goto player1dead if (player0y + 10) >= player2y && player0y <= (player2y + 10) && (player0x + temp5) >= player2x && player0x <= (player2x + 7) then goto player2dead __Skip_p0_Collision if (missile0y + 10) >= player1y && missile0y <= (player1y + 10) && (missile0x + temp5) >= player1x && missile0x <= (player1x + 7) then goto player1dead if (missile0y + 10) >= player2y && missile0y <= (player2y + 10) && (missile0x + temp5) >= player2x && missile0x <= (player2x + 7) then goto player2dead I also removed temp5 = player1x completely and it still works perfect, definitely looked like you had to define temp5 there in that example
-
if !collision(player0,player1) then goto __Skip_p0_Collision temp5 = _Data_Sprite_Width[_Sprite_Size0] if (player0y + 10) >= player1y && player0y <= (player1y + 10) && (player0x + temp5) >= player1x && player0x <= (player1x + 7) then pfpixel 9 11 on if (player0y + 10) >= player2y && player0y <= (player2y + 10) && (player0x + temp5) >= player2x && player0x <= (player2x + 7) then pfpixel 9 20 on __Skip_p0_Collision Can the data sprite width and sprite size tables be replaced with just some variables/numbers if i don't want to use 3 different nusiz like in rt's example? temp5 = something simple?
-
DASM Warning: Unable to open 'myfile.asm'
Lillapojkenpåön replied to Lillapojkenpåön's topic in 2600 Programming For Newbies
Thanks for the help Yup, I'm trying to add the stars to step 2 of it because I like the padagogical subroutine layout for the moment, I've only been able to make different versions of a vertical line so far, I could just copy and paste, but I won't learn anything from that -
DASM Warning: Unable to open 'myfile.asm'
Lillapojkenpåön replied to Lillapojkenpåön's topic in 2600 Programming For Newbies
Ok, forget the last post, except for the NUSIZ0 question, I know you make single line playfield and sprites differently now, I only need single line sprites, and don't even need a playfield if I could only get this thing working, found it in the mailing list, it's written in A86 I think. http://www.biglist.com/lists/stella/archives/199705/msg00024.html very short, please have a look Changing the labels, the end, and including the header files got rid of most error messages, but still this error: Unknown Mnemonic 'DB'. it's here: table: DB 4,5,6,7,8,9,10,11,12,11,10,9,8,7,6,5 and error: Label mismatch... here: .1: STA Wsync ;change the colour every line for ;sparkling stars - otherwise do what ;you want here CLC ADC #$03 EOR #$A0 STA ColuP0 DEY BNE .1 I fell asleep on my keyboard yesterday with 40 tabs open trying to figure it out, so if someone can help me I will not ask more questions for a while, I think my harmony cart will get here today so I want to have a working foundation ready for it. If anyone sees anything else in there that's rarely used anymore I would love to know, thanks. -
Yes i get that, but when I have 380 feedbacks, 100% positive, it feels like he could consider it, it's not super fun to pay 25% import tax either, we should both suffer a little, a good deal has two losers, everybody knows it.
-
I saw them last night when i looked for the beamrider patch, I am the only one hwo's maxed the score on the hard setting, I deserve a patch on my jacket. why do so many americans don't want to ship internationally, other than finding out what the shipping cost will be, but you could just put an exagerated amount that would shurely cover it. Offered a ebay guy $100 extra to ship a $30 wireless controller to Sweden recently, but he just responded with the usual hostile "I clearly wrote in the description.." Seemed like a win win to me.
-
DASM Warning: Unable to open 'myfile.asm'
Lillapojkenpåön replied to Lillapojkenpåön's topic in 2600 Programming For Newbies
Thank you! Changing everything I could to inline assembly was fun, I also noticed that the assembler had interpreted NUSIZ0 = $05 like this.. 1796 21d9 .L027 ; NUSIZ0 = $05 1797 21d9 1798 21d9 a9 05 LDA #$05 which works for some reason, but isn't it suppose to look like this? 1799 21d9 a9 05 lda #$05 1800 21db 1801 21db 85 04 sta NUSIZ0 After looking at all the weird extra.. arm code? I think I would rather use a regular single line kernel for now, but can't find any info on how to make one, something like a BlankCommentedStableSingleLineKernelDisplayTemplate.asm would be nice, but maybe I can figure it out by looking at other peoples code. -
Hello, Anyone here from Israel? I found something I really want to buy from an online gameshop in Israel, but they don't offer international shipping. If anyone here is from Israel and would be so kind and offer their adress (or order it for me if they want to know what it is) I would pay upfront and give you a good money reward for just writing my adress on the box and posting it to me. Thank you
-
DASM Warning: Unable to open 'myfile.asm'
Lillapojkenpåön replied to Lillapojkenpåön's topic in 2600 Programming For Newbies
Thank you. You where double right, I had accidently copied and merged two different commands here, but i think that would still have worked, just renamed kernel.asm wrong. The cd commands made it work C:\DASM\dasm>dasm kernel.asm -f3 -okernel.bin works C:\>DASM\dasm\dasm kernel.asm -f3 -okernel.bin doesn't work Here's some more questions i've had while i'm at it, Is there any way to copy your batari basics source code from stella or something? Or how would i continue in assembly? Is it possible to use both assembly language and basic in batari basic together? Would it be possible to replace something like vertical scroll with horisontal in the batari basic dpc+ kernel or am i better off learning 6502? -
Hello, I wanted to try and continue my bbasic game in assembly so I got dasm and jedit, but after saving my file and trying to assemble it I only get this message. START OF PASS: 1 Warning: Unable to open 'kernel.asm' ---------------------------------------------------------------------- SEGMENT NAME INIT PC INIT RPC FINAL PC FINAL RPC INITIAL CODE SEGMENT 0000 ???? 0000 ???? ---------------------------------------------------------------------- 0 references to unknown symbols. 0 events requiring another assembler pass. --- Symbol List (sorted by symbol) --- End of Symbol List. Complete. C:\> So far I've tried.. Running command prompt as admin. Switching macro.h and vcs.h files, I have these in the dasm folder along with my .asm files. Tried three different commands that other people here are using. Like.. C:\>DASM\dasm\dasm kernel.asm -lcollect.txt -f3 -v5 -ocollect.bin (two dasm folders, trying to assemble collect tutorial file) I think I'm using either command prompt or the support files wrong. Hopefully someone knows what i've missed. Windows 8.1
- 9 replies
-
- dasm
- unable to open
-
(and 1 more)
Tagged with:
-
Thank you so much for taking the time to do this! it picked up perfectly where the bataribasic.com tutorial ended, i understand everything so much better now even tho i don't speak much english, i even turned my smiley face into a ufo instead, i feel so creative:) I think i could almost experiment and create some games now with the online bb manual, but i need to learn so much more! i hope your'e working on some new part for us, looking forward to learn more master Curtis.
