Lukket

6809 assembler optimization

You have to write an optimized 6809 assembler function to draw vector lines on a Vectrex game console. Attached is the full project. You can open and run it with the Vide IDE:

[url removed, login to view]

When opening the project in Vide, you can start it with the play button in the Vedi toolbar. Then you can click in the vecxi window, and press "a" to start the game (the buttons 1, 2, 3, 4 are a, s, d, f). Then you can open the "tracki" window and click "reset". This will show you the number of cycles the whole game loop needs.

As a test if you are qualified to do this task, tell me the "avg" number you see. If the number is wrong or if you don't tell me the number, your offer will be ignored.

You have to write an optimized version of the "drawField" function in the bloxorz.c file. Most likely it needs to be in assembly and it needs to use the VIA registers directly instead of calling the Bios functions. If you add a "return" at the beginning of the function, you can see in the tracki window that it needs 11799 cycles (difference between the game loop with and without the function). Your task is to increase the speed to at least less than 5000 cycles, for the first level, and the function has to work for the other 2 levels as well (but then it can be slower).

The higher speed should be possible, because if you comment out the showInfo function, you can see that this function needs 3589 cycles, and it draws about 80 lines, while the drawField function draws much fewer lines.

Some helpful resources:

- Vectrex Bios ROM listing: [url removed, login to view]

- Vectrex Programmers Manual: [url removed, login to view] [url removed, login to view]

Færdigheder: Montage, C programmering, Programming

Se mere: write recursive function writes digits positive decimal integer reverse order , write program function calculator, write complete function return larger integers , write basic function moneyexplain detail derivatives function money , function draw gantt chart linux, small list write similar function, draw vector lines vbnet 2008, write program function add integers, write optimized sql, assembly mips output file, mips assembly read matrix file multiply, eclipse assembly assembler x86, mips assembly code read file, write duration function module vba, write complete function will return larger integers, write search function website php, can write select function javascript, write vbnet function, assembler threading software optimization contract job simd, write javascript function mysql query, 8085 assembly projects, vba code optimization, projects assembly language programing, adwords optimization, base64 assembly

Om arbejdsgiveren:
( 6 bedømmelser ) Cologne, Germany

Projekt-ID: #16102380

1 freelancer is bidding on average $200 for this job

shentiakov

Hi, you need Motorola 6809 asm optimization of a video game for the old vector graphics game console. The average number that I can see on my PC in the emulator is about 19300 - check the screenshot. Relevant Skills a Mere

$200 USD in 3 dage
(0 bedømmelser)
0.0