Documentation for “Zerocat Chipflasher” as of Sat, 29 Mar 2025 14:42:23 +0100
Repository:
Version: v2.1.6-0-c57b46eb4
Branch: master

../../firmware2/src/txline.spin.connect.html

Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.78
Compiling...
../../firmware2/src/txline.spin
|-ASCII.spin
|-linespec.spin
  |-blocksizes.spin
Done.
Program size is 1068 bytes

______________________________________________________________________________
********************************************************* File starts here ***
Zerocat Chipflasher --- Flash free firmware, kick the Management Engine.

Copyright (C) 2020, 2021, 2022, 2025  Kai Mertens 

File txline.spin --- PASM code. Print Motorola S-record or Hex-dump line to buffer.

This file is part of Zerocat Chipflasher.

See end of file for terms of use.

******************************************************************************


# Interface Description

Object "../../firmware2/src/txline" Interface:

PUB  start : 
PUB  print(tline, pdest, psrc, index, startaddr, cut, sinfo) : 
PUB  stop

Program:  263 Longs
Variable: 10 Longs


# Loaded Objects

* ASCII
* linespec


# Constants

* ENUM FID_type
* Masks, Sizes for _lineSREC
* Sizes for _lineHEXD
* Shared Masks, Sizes


# Globals

* stack[]
* Cog ID Byte


# Functions

_____________
PUB  start : 

 Launch PASM code in new cog.
 Return FALSE if no cog could be started, otherwise TRUE.

_______________________________________________________________
PUB  print(tline, pdest, psrc, index, startaddr, cut, sinfo) : 

 tline == 0: Print one Motorola-S (binary payload) line into buffer.
 tline == 1: Print one hex-dump (binary payload) line into buffer. Parameter sinfo is ignored.

 Line ending is: CR, LF
 Returns number of bytes that have been written to pdest.


_________
PUB  stop

 Stop cog by ID.


# Data: _txline



******************************************************************************
Terms of Use:

Zerocat Chipflasher is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

Zerocat Chipflasher is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License along
with Zerocat Chipflasher.  If not, see <http://www.gnu.org/licenses/>.

************************************************************** End of File ***