Search the web
Sign In
New User? Sign Up
vmu-dev · The VMU Development list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: [vmu] Some questions...   Message List  
Reply | Forward Message #779 of 1156 |
Re: [vmu] Some questions...



developer@... wrote:

> 1-What is .cnop? (pad to an even number of blocks? What is it?)

Yep - the .cnop instruction pads out to an even number of blocks. The
first argument is the byte to pad it with, and the second argument is
the multiple of bytes to pad to (i.e. $200= pad to $200, $400, $600,
etc.)

> 2-How do I use the LDF e STF instructions? (I read john maushammer's
> page but I did not understand)

Sorry for the poor documentation - I didn't have a good source.

>
> 3-I can use the writeflash_OS, but how can I "readflash_OS"?
> 4-How can I get the VMU Bios?
> 5-What is an object file and how does it work? (marcus comstedt's
> assembler doesnt support, i know)

Object files usually contain more information than regular binary files
(which usually contain just code and data and nothing else). They
usually contain information on variable and function names, and also the
information needed to make the file relocatable. Sometimes they have
debug information (such as source line numbers).

The point of object files is usually to break a program into smaller
portions (modules), each of which can be compiled separately. A linker
will then take a bunch of object files, combine them, and produce an
executable. This way, when you change one module, you don't have to
recompile every thing -- instead, just recompile the changed module and
re-link it with the unchanged modules. The linking process is usually
pretty quick, especially compared to compiling.

Object files would be good to produce information for a source-level
debugger, but since the memory of the VMU is so small, it's not that
much of a hassle to just recompile everything.

>
> I have the vmu official development, with the assembler, simulator
> (this one doesnt work) and other tools... If you want me to attach
> the assembler, just ask me and I'll do it...
>
> Thanks for any advice,
>
> I, Me, Mine
> (sorry if i made any mistake:)
>




Tue Mar 6, 2001 7:34 pm

john@...
Send Email Send Email

Forward
Message #779 of 1156 |
Expand Messages Author Sort by Date

... Heh. I dont think I'm the youngest anymore. I'm only 14. ... I dont think anyone actually minds, because you can do alot with 20MB of space. ... I think...
Paul Kratt
sblur@...
Send Email
Nov 8, 2000
12:30 am

... Yep - the .cnop instruction pads out to an even number of blocks. The first argument is the byte to pad it with, and the second argument is the multiple of...
john maushammer
john@...
Send Email
Mar 6, 2001
7:03 pm

Thank you very much!...
developer@...
Send Email
Mar 6, 2001
10:28 pm

... Well, actually the value of the emitted byte is always zero (ie: a NOP instruction). The first parameter is for emitting an arbitrary number of bytes...
Brian Chapman
bchapman@...
Send Email
Mar 7, 2001
9:26 pm

(Sorry for my poor english:) Well... thanx but I dont think u r right... The first parameter does something like: if (length of all the bin until now)>(1st...
developer@...
Send Email
Mar 10, 2001
12:05 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help