Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ben_g

Pages: 1 ... 69 70 [71]
1051
ASM / Re: compiletime errors
« on: May 10, 2011, 01:40:14 pm »
thanks everybody

1052
ASM / Re: compiletime errors
« on: May 08, 2011, 04:23:00 pm »
pretty much the same...

Pass one...
Pass two...
source/invasion.z80:60: error: 'hl' isn't a macro or label
source/invasion.z80:62: error: 'hl' isn't a macro or label
source/invasion.z80:64: error: 'de' isn't a macro or label
source/invasion.z80:67: error: 'hl' isn't a macro or label
source/invasion.z80:69: error: 'hl' isn't a macro or label
source/invasion.z80:71: error: 'de' isn't a macro or label
source/invasion.z80:74: error: 'hl' isn't a macro or label
source/invasion.z80:76: error: 'hl' isn't a macro or label
source/invasion.z80:78: error: 'de' isn't a macro or label
source/invasion.z80:81: error: 'hl' isn't a macro or label
source/invasion.z80:83: error: 'de' isn't a macro or label
source/invasion.z80:85: error: 'hl' isn't a macro or label
source/invasion.z80:87: error: 'de' isn't a macro or label
source/invasion.z80:88: error: 'ix' isn't a macro or label
source/invasion.z80:90: error: 'hl' isn't a macro or label
source/invasion.z80:92: error: 'hl' isn't a macro or label
source/invasion.z80:94: error: 'de' isn't a macro or label
source/invasion.z80:95: error: 'ix' isn't a macro or label
source/invasion.z80:98: error: 'hl' isn't a macro or label
source/invasion.z80:113: error: 'hl' isn't a macro or label
source/invasion.z80:116: error: 'de' isn't a macro or label
source/invasion.z80:118: error: 'hl' isn't a macro or label
source/invasion.z80:121: error: 'de' isn't a macro or label
source/invasion.z80:122: error: 'ix' isn't a macro or label
source/invasion.z80:124: error: 'hl' isn't a macro or label
source/invasion.z80:126: error: 'hl' isn't a macro or label
source/invasion.z80:129: error: 'af' isn't a macro or label
source/invasion.z80:133: error: 'hl' isn't a macro or label
source/invasion.z80:138: error: 'hl' isn't a macro or label
source/invasion.z80:140: error: 'de' isn't a macro or label
source/invasion.z80:143: error: 'hl' isn't a macro or label
source/invasion.z80:148: error: 'hl' isn't a macro or label
source/invasion.z80:150: error: 'de' isn't a macro or label
source/invasion.z80:153: error: 'hl' isn't a macro or label
source/invasion.z80:157: error: 'hl' isn't a macro or label
source/invasion.z80:159: error: 'de' isn't a macro or label
Done
Assembly time: 0.021 seconds

1053
ASM / Re: compiletime errors
« on: May 08, 2011, 04:03:42 pm »
I only ever used TASM when I tried learning assembly and it doesn't run on 64 bit OSes.
that's why i searched for other assemblers, and i got latenite to work, untill it gave those errors...

1054
ASM / Re: compiletime errors
« on: May 08, 2011, 03:51:43 pm »
the doorscs assembler gives the same errors

the strangest abouth this: all of the other routines works (i only posted the part that gave the errors) while some of those lines are exactely the same as the ones that give errors in the initView routine

1055
ASM / Re: compiletime errors
« on: May 08, 2011, 03:38:24 pm »
What assembler are you using?
I use latenite z80 editor for both editing and compiling.
And welcome to Omnimaga, ben_g :)
thanks

btw: thanks for the quick reply

1056
ASM / compiletime errors
« on: May 08, 2011, 03:10:54 pm »
Hi everybody!

I recently started with asm, and i have some compiletime errors of which i don't know how to solve them.

my code:
Code: [Select]
InitView:
  ;call once every frame, before 3DTo2D
  ld hl, (xto)
  ld bc, hl
  ld hl, (xfrom)
  ld de, hl
  call SubFP
  ld hl, de
  ld (xto), hl
  ld hl, (yto)
  ld bc, hl
  ld hl, (yfrom)
  ld de, hl
  call SubFP
  ld hl, de
  ld (yto), hl
  ld hl, (zto)
  ld bc, hl
  ld hl, (zfrom)
  ld de, hl
  call SubFP
  ld hl, de
  ld (zto), hl
  ld hl, (xto)
  ld bc, hl
  call MulFP
  ld ix, de
  ld hl, (yto)
  ld bc, hl
  call MulFP
  ld hl, de
  ld bc, ix
  add hl, bc
  ld ix, hl
  ld hl, (zto)
  ld bc, hl
  call MulFP
  ld hl, de
  ld de, ix
  add hl, de
  call sqrtFP
  ld de, hl
  ld hl, (xto)
  push de
  call DivFP
  pop de
  ld (xto), hl
  push de
  ld hl, (yto)
  call DivFP
  pop de
  ld (yto), hl
  ld hl, (zto)
  call DivFP
  ld (zto), hl
  ld hl, (xto)
  ld bc, hl
  ld hl, (xup)
  call MulFP
  ld ix, de
  ld hl, (yto)
  ld bc, hl
  ld hl, (yup)
  call MulFP
  ld hl, de
  ld bc, ix
  add hl, bc
  ld ix, hl
  ld hl, (zto)
  ld bc, hl
  ld hl, (zup)
  call MulFP
  ld hl, af
  add hl, de
  push hl
  ld hl, (xto)
  ld bc, hl
  pop hl
  push hl
  call MulFP
  ld hl, (xup)
  ld bc, hl
  call SubFP
  ld hl, de
  ld (xup), hl
  ld hl, (yto)
  ld bc, hl
  pop hl
  push hl
  call MulFP
  ld hl, (yup)
  ld bc, hl
  call SubFP
  ld hl, de
  ld (yup), hl
  ld hl, (zto)
  ld bc, hl
  pop hl
  call MulFP
  ld hl, (zup)
  ld bc, hl
  call SubFP
  ld hl, de
  ld (zup), hl
the errors:
Assembling...
Pass 1 complete. (330ms).
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:61]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:63]
Error: Could not parse expression 'de' (Invalid number). [zztemp.asm:65]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:68]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:70]
Error: Could not parse expression 'de' (Invalid number). [zztemp.asm:72]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:75]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:77]
Error: Could not parse expression 'de' (Invalid number). [zztemp.asm:79]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:82]
Error: Could not parse expression 'de' (Invalid number). [zztemp.asm:84]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:86]
Error: Could not parse expression 'de' (Invalid number). [zztemp.asm:88]
Error: Could not parse expression 'ix' (Invalid number). [zztemp.asm:89]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:91]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:93]
Error: Could not parse expression 'de' (Invalid number). [zztemp.asm:95]
Error: Could not parse expression 'ix' (Invalid number). [zztemp.asm:96]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:99]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:114]
Error: Could not parse expression 'de' (Invalid number). [zztemp.asm:117]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:119]
Error: Could not parse expression 'de' (Invalid number). [zztemp.asm:122]
Error: Could not parse expression 'ix' (Invalid number). [zztemp.asm:123]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:125]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:127]
Error: Could not parse expression 'af' (Invalid number). [zztemp.asm:130]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:134]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:139]
Error: Could not parse expression 'de' (Invalid number). [zztemp.asm:141]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:144]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:149]
Error: Could not parse expression 'de' (Invalid number). [zztemp.asm:151]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:154]
Error: Could not parse expression 'hl' (Invalid number). [zztemp.asm:158]
Error: Could not parse expression 'de' (Invalid number). [zztemp.asm:160]
Pass 2 complete. (163ms).
Errors: 36, Warnings: 0.
Build failed.


Pages: 1 ... 69 70 [71]