English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 30 June 2024, 15:24   #1
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 855
TestCode released

I just released this classic Amiga development tool that has served me for more than 25 years. I thought others might find it useful.

TestCode is a tool for developers (especially assembly ones).
It takes a blob, i.e. a relocatable file made of a given number of sections (hunks), executes the code sections, prints a detailed report and, if the blob requests it, creates a dump file.
In particular, TestCode executes the core section with AmigaOS and the hardware in "off" state (but the section can modify the hardware state almost without limits) and measures the duration of the execution with color clock precision.

Report example:
Code:
+---------------------------------------------------------+
|                     TestCode Report                     |
+---------------------------------------------------------+
|                .l move.l d1,d2 ;d1 odd                  |
|                   muls.l d0,d2 ;d0 even                 |
|                   dbf    d7,.l                          |
+-----------------------+---------------------------------+
|                   CPU : 68030 50.000000 IiDd..          |
|                 loops : 65536                           |
|          memory leaks : C: 0   F: 0                     |
+-----------------------+---------------------------------+
|                    d0 : .......6 .........6 ..........6 |
|                    d1 : 12345679 .305419897 ..305419897 |
|                    d2 : 6d3a06d6 1832519382 .1832519382 |
|                    d3 : .......0 .........0 ..........0 |
|                    d4 : .......0 .........0 ..........0 |
|                    d5 : .......0 .........0 ..........0 |
|                    d6 : .......0 .........0 ..........0 |
|                    d7 : ....ffff .....65535 ......65535 |
|                    a0 : .......0 .........0 ..........0 |
|                    a1 : .......0 .........0 ..........0 |
|                    a2 : .......0 .........0 ..........0 |
|                    a3 : .......0 .........0 ..........0 |
|                    a4 : .......0 .........0 ..........0 |
|                    a5 : .......0 .........0 ..........0 |
|                    a6 : .......0 .........0 ..........0 |
|                   usp : 783b246c 2017141868 .2017141868 |
|                   isp : 7800206c 2013274220 .2013274220 |
|                   msp : 34095084 .873025668 ..873025668 |
|                    sr : ....2708 ......9992 .......9992 |
|                   vbr : 7835cbb4 2016791476 .2016791476 |
|                  cacr : ....3111 .....12561 ......12561 |
|                  caar : 97f9fd0e 2549742862 -1745224434 |
|                   sfc : .......7 .........7 ..........7 |
|                   dfc : .......7 .........7 ..........7 |
+-----------------------+---------------------------------+
|          total cycles : 3407868.008                     |
|       cycles per loop : 52.000                          |
|    total color clocks : 241747                          |
| color clocks per loop : 3.689                           |
|           rasterlines : 1064.965                        |
|                frames : 3.402                           |
|                    µs : 68157.360                       |
+-----------------------+---------------------------------+
Full details are provided in the manual.

Download: https://retream.itch.io/amiga-tools
saimo is offline  
Old 30 June 2024, 16:08   #2
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 44
Posts: 936
Thanks for sharing!
patrik is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
New AKReal released Retrofan News 217 05 January 2024 00:13
Denise 2.0 released! amilo3438 News 0 26 April 2023 18:03
AfA One Released AMIGASYSTEM News 109 22 December 2022 23:36
WinFellow 0.5.8 released carfesh support.WinFellow 10 08 January 2022 20:51
Never released??? tomcat666 project.aGTW 18 18 January 2010 14:44

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:01.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07461 seconds with 15 queries