511
Music Showcase / Re: MIDI songs
« on: March 19, 2014, 10:24:12 am »
Here you go: a song that sounds like all pop songs of the past 5 years combined.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to. 511
Music Showcase / Re: MIDI songs« on: March 19, 2014, 10:24:12 am »
Here you go: a song that sounds like all pop songs of the past 5 years combined.
513
Other / Re: z80-like portable computer for <$30! (If you build one)« on: March 14, 2014, 03:46:12 am »
I just ordered the memory. It will probably take a little while before it gets shipped to me, so that gives me some time to think about the extended filesystem. Because I made file headers variable-sized I can add things like extended addresses. Only the first block has an extended address, so the other blocks in the file cannot exceed a sector of 64KB. I might add something to work around that. The lower byte in the 'next_block_address' field of the block header is there just so the filesystem won't get confused. It is not actually used at the moment. I could use it to indicate that the file continues in a different 64KB sector.
514
Calculator C / Re: C PROGRAMMING FOR TI 84?« on: March 12, 2014, 08:41:20 am »
Axe is more optmized for the z80 more than any C compiler out there.
516
Music Showcase / Re: MIDI songs« on: March 09, 2014, 01:36:35 pm »
I was going for that
![]() The reason why I started making midi music is because I found a folder with runescape songs on my harddrive a few weeks ago. It also inspired me to write a midi player for my eZ8 computer. The songs are available for download on my public dropbox folder https://dl.dropboxusercontent.com/u/52769784/rscape.zip 517
Music Showcase / MIDI songs« on: March 09, 2014, 09:26:06 am »
Everything MIDI. Only post original work. Please only attach .mid files and not .mp3.
518
Other / Re: Custom filesystem for embedded systems« on: March 08, 2014, 05:23:14 pm »
I just wrote a whole bunch of code. I can now search files, open them and read them as a continuous stream of data. Files can be more than one block large. It does not matter where the blocks are located because every block holds the address to the next block in its header.
519
Other / Custom filesystem for embedded systems« on: March 08, 2014, 06:04:21 am »
I wanted to design my own filesystem for the eZ8 computer. I wanted to make it very simple to implement. It has these features:
-Block size:512 bytes (4 bytes per block reserved for filesystem) -16 character filenames -Wear leveling -File fragmenting -Variable-size file headers -Scratching files by writing just two bytes -No need for file indexing -No need to alter the file header when appending new data to a file -Flags for things like: executable, system/user-file -Extended addressing for accessing external media like flash roms -No directories yet, but can be implemented later on. File structure: Code: [Select] File header: File identifiers:Code: [Select]
What do you think about this filesystem? Any suggestions/foreseen problems? 520
Other / Re: z80-like portable computer for <$30! (If you build one)« on: March 07, 2014, 03:46:31 pm »
I just hooked up the keyboard to the new board I made. Now I do not have to use the psion pocket computer for input anymore. This frees up the serial port for sending and receiving files from my pc.
The midi files take up a lot of space in flash memory. I can barely fit 3 midi files on the internal flash. That's why I need to include some external memory into the eZ8 computer. I was thinking about using one of these 128Mbit flash roms: http://nl.farnell.com/spansion/s25fl127sabmfi101/memory-flash-128mbit-8soic/dp/2328002 I can store about 300-400 midi files on this chip! ![]() 521
Other / Re: z80-like portable computer for <$30! (If you build one)« on: March 06, 2014, 03:18:06 pm »Added a userport. It has 3.3v, 5v, 8IO pins and serial rx tx The serial tx signal is shifted up from 3.3v to 5v so it can be used for stuff like midi. 522
Other / Re: z80-like portable computer for <$30! (If you build one)« on: March 03, 2014, 04:32:47 am »
The eZ8 computer plays back MIDI files now!!!
523
Axe / Re: Send( and Get Command« on: March 01, 2014, 04:49:41 pm »
You don't want to send an entire file back and forth for a pong game. You just need to send a couple of bytes every time the ball passes the edge of the screen.
These bytes are: -Horizontal velocity -Vertical velocity -X/Y position depending on which part of the screen is facing the other calculator. 524
Other / Re: z80-like portable computer for <$30! (If you build one)« on: February 28, 2014, 01:37:18 pm »
I am working on a header file that contains all the data you need to develop software for the operating system.
This sample program uses the syscall: puts (print text on screen/terminal) ;=================================================================================== ; M E S S A G E B O X ; eZ8 OS sample program ; ; Description: ; Draws a box on screen ; Upcoming features: ; - Custom text in the box ;=================================================================================== include "eZ8OS.inc" prg_org(14) ;Program resides in page 14 of file memory prg_message: push cr_x push cr_y ld cr_x,#30 ld cr_y,#15 str_out(str_box_h) scrolldown str_out(str_box_v) scrolldown str_out(str_box_v) scrolldown str_out(str_box_h) pop cr_y pop cr_x ret ;=================================================================================== ; D A T A A R E A ;=================================================================================== str_box_h: asciz "+----------------+" str_box_v: asciz "| |" ;=================================================================================== ; M A C R O'S ;=================================================================================== str_out MACRO str ld R0,#HIGH(str) ld R1,#LOW(str) syscall puts ENDMAC str_out scrolldown MACRO ld cr_x,#30 inc cr_y ENDMAC ;----------------------------------------------------------------------------------- 525
Other / Re: z80-like portable computer for <$30! (If you build one)« on: February 27, 2014, 04:01:08 pm »
New features:
-Improved hex monitor -Syscall vector table -Midi! -Random improvements to the code -Blinking cursor ![]() I am also re-doing most of the comments. Example: ;=================================================================================================== ; S Y S C A L L V E C T O R T A B L E ;=================================================================================================== org 0800h ;0800h : I/O operations ---------------------------------------------------------------------------- dw putc ;+0 dw puts ;+2 dw puts_r ;+4 dw putFd ;+6 dw puti ;+8 dw puth ;+10 dw 0,0,0,0,0,0,0,0,0,0 ;(reserved) dw spi_transfer ;+30 dw spi_transfer_buffer ;+32 dw 0,0,0,0,0,0,0,0 ;(reserved) dw midiout ;+48 dw 0,0,0,0,0 ;(reserved) ;0840h : Memory operations ------------------------------------------------------------------------- dw F_unlock ;+0 dw F_erase_page ;+2 dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0 ;(reserved) ;0850h : Video operations -------------------------------------------------------------------------- dw gd_cpy ;+0 dw gd_copy ;+2 dw gd_fillmeup ;+4 dw gd_char_pal ;+6 dw 0,0,0,0,0,0,0,0,0,0,0,0 ;(reserved) ;0860h : Math routines ----------------------------------------------------------------------------- dw div_8 ;+0 dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ;(reserved) |
|