Difference between revisions of "Calling the Emulator in AVRStudio"

From Uzebox Wiki
Jump to: navigation, search
(New page: There's a quick and dirty way to invoke the emulator straight from AVRStudio. You can only configure it to handle the same hex file, but still, when working on a game, it's very handy! 1....)
 
 
Line 1: Line 1:
 
There's a quick and dirty way to invoke the emulator straight from AVRStudio. You can only configure it to handle the same hex file, but still, when working on a game, it's very handy!
 
There's a quick and dirty way to invoke the emulator straight from AVRStudio. You can only configure it to handle the same hex file, but still, when working on a game, it's very handy!
  
1.Go in Tools->Customize...
+
# Go in Tools->Customize...
2.Under the Tools tab, click the little folder icon and name it "Run on Uzebox Emulator"
+
# Under the Tools tab, click the little folder icon and name it "Run on Uzebox Emulator"
3.In the COmmand field, browse to the location of uzem.exe
+
# In the COmmand field, browse to the location of uzem.exe
4.in the Arguments field, put the full path to where you hex file in compiled, i.e: "C:\Documents and Settings\Admin\My Documents\projet\atmel\Uzebox2\demos\Tutorial\default\Tutorial.hex"
+
# In the Arguments field, put the full path to where you hex file in compiled, i.e: "C:\Documents and Settings\Admin\My Documents\projet\atmel\Uzebox2\demos\Tutorial\default\Tutorial.hex"
5.Click the Commands tab and select the "Tools" item from the left box
+
# Click the Commands tab and select the "Tools" item from the left box
6.Scroll a bit in the right box and drag and drop the item "Run on Uzebox Emulator" straight into a toolbar. I've put mine on the same toolbar as the compile+flash one, so compiling+running is only two clicks away!
+
# Scroll a bit in the right box and drag and drop the item "Run on Uzebox Emulator" straight into a toolbar. I've put mine on the same toolbar as the compile+flash one, so compiling+running is only two clicks away!

Latest revision as of 22:07, 9 January 2009

There's a quick and dirty way to invoke the emulator straight from AVRStudio. You can only configure it to handle the same hex file, but still, when working on a game, it's very handy!

  1. Go in Tools->Customize...
  2. Under the Tools tab, click the little folder icon and name it "Run on Uzebox Emulator"
  3. In the COmmand field, browse to the location of uzem.exe
  4. In the Arguments field, put the full path to where you hex file in compiled, i.e: "C:\Documents and Settings\Admin\My Documents\projet\atmel\Uzebox2\demos\Tutorial\default\Tutorial.hex"
  5. Click the Commands tab and select the "Tools" item from the left box
  6. Scroll a bit in the right box and drag and drop the item "Run on Uzebox Emulator" straight into a toolbar. I've put mine on the same toolbar as the compile+flash one, so compiling+running is only two clicks away!