Welcome, Guest. Please login or register.

Author Topic: PAL/NTSC Check?  (Read 3133 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Super TWiTTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 222
    • Show all replies
PAL/NTSC Check?
« on: November 10, 2010, 02:35:32 PM »
I am trying to sort out whether I truly have a pal or ntsc amiga and test different emulated conditions as well.  As it turns out, sysinfo always says I am operating under a pal setup (both with my real amiga and an emulated ntsc amiga 500).  Anyway, I found this assembler code from here.  When trying to assemble the topmost example with vasmm68k for linux, I get these errors
Quote
error 4 in line 1 of "code": no current section specified

error 4 in line 2 of "code": no current section specified

error 4 in line 3 of "code": no current section specified

warning 1022 in line 5 of "code": missing '

error 4 in line 5 of "code": no current section specified

error 4 in line 6 of "code": no current section specified

***maximum number of errors reached!***
Anyone have any ideas as to why the example code won't work?  Is it the way my text editor saves unix-type line returns?
Once there was a man and a boy in the woods.
 
Boy: I\'m scared...
 
Man: Hah! What have you got to be afraid of? I\'m the one that\'s going to be coming back alone!
 

Offline Super TWiTTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 222
    • Show all replies
Re: PAL/NTSC Check?
« Reply #1 on: November 10, 2010, 02:55:42 PM »
I have no idea, I am completely new to assembly, and just was using vasm because it was free.  This is how I executed vasm from my terminal:
Quote
./vasmm68k_mot -o test code
The ./ is just launching an executable in linux.  I tried to run this
Quote
./vasmm68k_mot -Fhunkexe -o test -nosym code
as suggested by their tutorial to compile a CLI application, but I got this back
Quote
fatal error 17: could not initialize output module
Once there was a man and a boy in the woods.
 
Boy: I\'m scared...
 
Man: Hah! What have you got to be afraid of? I\'m the one that\'s going to be coming back alone!
 

Offline Super TWiTTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 222
    • Show all replies
Re: PAL/NTSC Check?
« Reply #2 on: November 10, 2010, 03:09:37 PM »
Okay, now we are getting somewhere.  I recompiled the application from source, and now the hunkexe module IS found.  Now, the compile errors I get are
Quote
warning 7 in line 5 of "code": ' expected

error 1 in line 5 of "code": illegal operand types

warning 7 in line 6 of "code": ' expected

error 1 in line 6 of "code": illegal operand types
I looked and there doesn't appear to be a produced output file.
Once there was a man and a boy in the woods.
 
Boy: I\'m scared...
 
Man: Hah! What have you got to be afraid of? I\'m the one that\'s going to be coming back alone!
 

Offline Super TWiTTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 222
    • Show all replies
Re: PAL/NTSC Check?
« Reply #3 on: November 10, 2010, 03:24:06 PM »
I don't, I just saw it online....:(  Do you know of any program that will tell me if I'm operating in ntsc or pal mode?  I tried sysinfo, but it always (no matter on my real amiga or on an emulated amiga which definitely is set to ntsc) that I'm running in PAL mode.
Once there was a man and a boy in the woods.
 
Boy: I\'m scared...
 
Man: Hah! What have you got to be afraid of? I\'m the one that\'s going to be coming back alone!